Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to delimited
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00795350
Message ID:
00795512
Vues:
18
Terry,

One minor correction to Fred's code to avoid an empty first line in the file:
SET TEXTMERGE TO yourfile.txt
SET TEXTMERGE ON
SCAN ALL
   \\<<field1>>,<<field2>>,<<memofield>>,<<field4>>
   \
ENDSCAN
SET TEXTMERGE OFF
SET TEXTMERGE TO
You can also make a generic function using afields to process any cursor/table that you throw at it.

>>You'll have to build a comma delimited file yourself using SET TEXTMERGE.
>>
>>
SET TEXTMERGE TO yourfile.txt
>>SET TEXTMERGE ON
>>SCAN ALL
>>  \<<field1>>,<<field2>>,<<memofield>>,<<field4>>
>>ENDSCAN
>>SET TEXTMERGE OFF
>>SET TEXTMERGE TO
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform