Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy records on screen to text file
Message
 
À
31/03/2000 11:35:26
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00353388
Message ID:
00353399
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform