General information
Category:
Coding, syntax & commands
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.
Previous
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