Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Populating a memo field with the contents of a txt file
Message
De
16/06/2005 05:21:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01023818
Message ID:
01023827
Vues:
10
>Thankyou tore,
>
>The only problem now is that I have 3 fields in my cursor and could have say 10 records.
>
>I want to display the contents of the cursor in a txt file:
>
>For example:
>
>Type Progress Patterned
>------------------------------------------------------------
>Colour Sample In cut Angela
>Sample Complete Linda
>Mock-Up Complete Sally
>
>Can this be done in a structured way in one go.
>
>Thanks

You have many options:
List off fields field1,field2,field3 to file yourfile.txt && Check the Set Heading On/Off command
List off fields field1+field2+field3 to file yourfile.txt && Check the Set Heading On/Off command
Copy to yourfile.txt fields field1,field2,field3 delimited
Just to name a few of the zillions of options VFP give you
Personally I would create a small program, and use Scan-Endscan in combination with Text-Endtext
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform