Information générale
Catégorie:
Codage, syntaxe et commandes
Jim,
I tried your suggestion to no avail. lcFile evaluates to "D:\inventory.txt" so having a space is not the problem. I have also tried changing lcFile = ALLTRIM(LOCFILE("Inventory.txt","TXT","Select the inventory file.")) to lcFile = '"'" + ALLTRIM(LOCFILE("Inventory.txt","TXT","Select the inventory file.")) + "'" with no success. What gets me is that I can enter APPEND FROM D:\Inventory.txt TYPE DELIMITED WITH TAB at the command line and it works(!), but if I paste the same command into the click event (that's where all of this code resides) of my button and try to close the code window VFP warns that the line contains unrecognized phrase/keyword. Thanks again for your help.
Précédent
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