Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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.
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