Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating a memo field with the contents of a txt file
Message
From
16/06/2005 05:21:31
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01023818
Message ID:
01023827
Views:
11
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform