>However, the value of the variable is not relevant, as the error occurs when I try to save the method, so it's a compiler error, not a run time error.
Open the .err file of the program to see what happens
You may have a #define somewhere that changes the statement ( like #define TAB chr(0x09))
>>What is the exact value of lcTempFile?
>>
>>>I am a little baffled about why I am getting a FoxPro error in this statement when in a method:
>>>
>>>
Append From (lcTempFile) DELIMITED WITH TAB
>>>This gives the error "Command contains unrecognized phrase/keyword."
>>>
>>>However, if I paste that line into the command window, I can execute it without a problem. (lcTempFile is the name of a txt file.)
>>>
>>>What gives?
Gregory