Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND FROM syntax error
Message
From
10/02/2003 16:11:22
 
 
To
10/02/2003 12:46:01
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00751406
Message ID:
00751635
Views:
23
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform