Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to locate the table while importing
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Unable to locate the table while importing
Miscellaneous
Thread ID:
00406624
Message ID:
00406624
Views:
74
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
Map
View

Click here to load this message in the networking platform