Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing to a text file
Message
 
À
18/08/1999 08:46:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00254904
Message ID:
00255032
Vues:
21
>I have to export data from a FoxPro database using VFP 6.0 in an unusual format to a text file. What commands can I use to send hard code as well as my data to the text file? I am currently trying:
>
>SET ALTERNATE ON
>SET ALTERNATE TO &lcfilename ADDITIVE
>??'RUNDATE: '
>??'OPERATOR: '
>
>at the beginning of my routine, and it's not working! Any ideas?
>
>Thanks!!

You have to set the output file first and then activate redirection.

SET ALTERNATE TO &lcfilename ADDITIVE
SET ALTERNATE ON
??'RUNDATE: '
??'OPERATOR: '

SET ALTERNATE OFF
SET ALTERNATE TO
Michael McLain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform