Information générale
Catégorie:
Codage, syntaxe et commandes
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement