Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Solution for APPEND FROM ... TYPE DELIMITED WITH TAB
Message
 
À
23/09/2000 14:48:28
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00420219
Message ID:
00420221
Vues:
16
>Dear Meere Mortal users.
>
>The comand APPEND FROM test.dat TYPE DELIMITED WITH TAB genarates an error, when used in forms method.
>
>The problem was that in FRAMEWORK.H and in DFF2RS.H there was #DEFINE TAB CHR(9)
>
>After removing this definition from include files everything works normal
>
>Juozas

Funny problem,
That is because VFP replaces all occurences of TAB with Chr(9)
I had a problem with this too using Order as a constant.
A workaround for this is saying
lcCommand = "APPEND FROM test.dat TYPE DELIMITED WITH TAB"
&lcCommand
When you self create constants i reccoment using a name convention like placing _LOC after the name (is done in TasTrade)
Then you will never have a problem with this.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform