General information
Category:
Coding, syntax & commands
Steve,
Most probably the error referrs to the end of the table to append to, not the end of the text file. IOW, your prg hits the end of the table when is trying to append memo from text file.
HTH
>Hi,
>I need to appe a text file to a foxPro table. I am trying to do this with
>appe memo MyField from Text1.txt type sdf.
>This begins okay but each time I get the error message "end of File encountered."
>Could this mean that the text file has no eof() marker? I can get around this
>problem by importing the text1 file into Excel and then having excel write a new text
>file text2.txt. Then FoxPro can appe this text2.txt with no problem. However, is there a way
>for FoxPro to check for the presence of an eof() marker in text1.txt and add on it not there?
>Or is there another way for FoxPro to appe in this apparently offensive text file, low level
>file reading routines?
>Thanks
>Steve Elster
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only