I have a program that import some information from a text-file with the append from SDF command.
From time to time it doesn't import all records.
Here is the test-code:
- Code: Select all Expand view
- #INCLUDE "fivewin.CH"
REQUEST DBFCDX
FUNCTION test()
local vstruct:={}
RDDSETDEFAULT("DBFCDX")
dbstructuur:={}
aadd(vstruct,{'LINE','C',199,0})
dbcreate('import.tmp',vstruct)
use ('import.tmp') new
appe from test.txt sdf
go top
browse()
RETURN nil
Here is the text-file that can't be imported completly. It allways stops at the same record, and I can't find out why.
http://www.vms.be/FWTest/test.txt
Can someone try this?
My last record is allways:
<Artikelcode>SCTATC</Artikelcode>
I use FW710.
Thanks,
Marc