Strange behavior with IMPORT
Boaz Bezborodko
boaz at mirrotek.com
Sun Aug 18 13:17:51 PDT 2013
I am trying to import a file and it's giving me weird results. I import
using the following command:
IMPORT ASCII ord=(File_Location{"INBOUND\ "{ae) R=\r F=, O=" C="
The file I am getting is a little strange in that it has CR at the end
of each line except the last. What is happening is that when Filepro
reads the last line then 'ord' is populated with data, but 'not ord'
shows as true.
If I check for 'not ord' to break out of the import loop then the last
file is not processed. If I let it go through then Filepro keeps
reading the last line over and over with each loop.
I can save the data from the last line and check against that to break
out, but is this a bug?
--
Mirrotek International, LLC
90 Dayton Avenue
Building 1-F
Passaic, NJ 07055
Tel: 973-472-1400 x.112
Fax: 973-472-5170
More information about the Filepro-list
mailing list