Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building a string
Message
De
05/04/2010 13:44:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01458765
Message ID:
01458772
Vues:
73
I need to add extra formatting text between fields and dependent on field contents. So simple COPY will not work. Do you think using SET TEXTMERGE TO VARIABLE will be faster?

Thanks,

>What about
>COPY TO ... TYPE DELIMITED WITH TAB
>
>?
>
>>
>>I need to build a string of tab delimited fields from a table. I have been using something similar to:
>>
>>
>>cMyString = ""
>>
>>SCAN 
>>
>>  cMyString = m.cMyString + myTable.Field1 + CHR(9) + myTable.Field2 + CHR(9) + CHR(13)
>>
>>ENDSCAN
>>
>>
>>Is there a faster way such as, for example, using TEXTMERGE?
>>
>>TIA
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform