用户给我们的txt是按照一定的格式给我门的字段与字段中间没分阁符,但是给我门了他们表的数据结构,但是最后的一个字段的长度比txt里的最后一个字段个长度多了1位,如
000000000992700355000000000000055240    100
000000000992700355000000000054104278    100
000000000992700355000000000054104407    100(以上是数据)
Product 18 ,  Component 18,    Quantity 8(字段与长度)
我想把他转换成access,我现在是用TStringList一个一个转的很麻烦,谁能告诉我一个简单的方法。谢谢数据如下:
000000000992700355000000000000055240    100
000000000992700355000000000054104278    100
000000000992700355000000000054104407    100
转换成access后字段如下:
Product 18 ,  Component 18,    Quantity 8(字段与长度)
完整如下:
Product                Component                  Quantity
000000000992700355     000000000000055240             100
000000000992700355     000000000054104278             100
000000000992700355     000000000054104407             100
......