General information
Category:
Coding, syntax & commands
Title:
APPEND FROM problems
I am trying to append records to a table from a text file using the following code:
LOCAL lcFile
lcFile = ALLTRIM(LOCFILE("Inventory.txt","TXT","Select the inventory file."))
APPEND FROM &lcFile TYPE DELIMITED WITH TAB
The APPEND FROM generates an error 36, "Command contains unrecognized phrase/keyword." I have read about issues concerning APPEND FROM and certain types of files, but thought they had been resolved in Service Pack 3. I'm using sp4. This command worked in Fox 2.6. I have tried replacing &lcFile with (lcFile) and I get the same error. Anyone have any ideas or a workaround? Thanks.
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