Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Unable to locate the table while importing
Juan,
I can create a table with a form, and/or locate an existing table, move either of those paths into the form. Do not understand why a message comes up stating the table does not exist, while I'm trying to import the text file. any help is appreciated.
cFile=Getfile("*","Open the text File","Open",0)
nhdl=Fopen(cFile,10)
nsize=Fseek(nhdl,0,2) && Move to EOF
IF nsize<=0
*- File is empty
ELSE
=FSeek(nhdl,0,0) && Move to BOF
DO WHILE !FEOF(nhdl)
cString=FGETS(nhdl)
orig_lata=Substr(cString,31,3)
term_lata=Substr(cString,78,3)
Bill_dur=Substr(cString,81,5)
ENDDO
ENDIF
=fclose(nhdl)
MessageBox ("Copy is done")
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