Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy records on screen to text file
Message
 
To
31/03/2000 11:35:26
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00353388
Message ID:
00353399
Views:
21
>I have a new application that needs to write the information showing in txt boxes on the form to a text file.
>
>example;
>
>txtbox1 shows part "54990"
>txtbox2 shows quantity "22"
>
>each must be printed to a separate line, and the file must be created in a queue subdirectory with a .qlp extension(not a special file type just a name that another program will recognize)
>
>Thanks ahead of time.
>
>Brad.

Also just in case you did not know CHR(13)+CHR(10) added to text sent to the STRTOFILE command will enter a carriage return line feed.

STRTOFILE(txtbox1.Value+ ' ' + txtbox2.Value + CHR(13)+CHR(10),'c:\temp\file.qlp')
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform