General information
Category:
Coding, syntax & commands
Title:
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")
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