Andrew Stapleton suggested that the previous line could end in a ; and could cause a problem. That could be
I had a thought too, maybe you have overridden one of the command keywords with a #DEFINE, perhaps in an include file.
With this code:
#define tab Chr(9)
append from (lcFile) type delimited with tab
I get the error "Command contains unrecognized phrase/keyword."
Defining tab as Chr(9) seems like something logical to try...
>>One more thought...
>>
>>lcCommand = "APPEND FROM " + lcFile + "DELIMITED WITH TAB"
>>= EVAL(lcCommand)
>>
>>By the way... What is in lcFile?
>
>This doesn't explain why it wouldn't work in the original form, but it's a great work-around. Thanks!
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.