Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APPEND FROM syntax error
Message
De
10/02/2003 16:11:22
 
 
À
10/02/2003 12:46:01
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00751406
Message ID:
00751635
Vues:
13
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform