Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PRINT TO FILE
Message
De
28/11/1999 10:57:38
 
 
À
28/11/1999 09:08:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00295649
Message ID:
00296143
Vues:
25
>Hi,
>
>>Print to file. Spool the print file to the printer. Save the print file somewhere.
>
>How to do the procedure you mention above? Because I donno how to get back my report after I REPORT FORM myreport TO FILE myfile.txt......
>

You'd have to write each occurance of the output to a different file name, and have some mechanism for identifying which file corresponds to what is wanted.

You can always send the output to a file with a long file name - like thesillyreportjohnwantedsundaythathadtheseparameters.txt, but now you have to have a way of letting the user figure out whether he's printed it before or not...

Windows is not smart enough not to overwrite the same file with another file if you tell it to do so, and it can't read your user's mind. It's your responsibility to save each report output to a distinct file, and once the file is generated, it's up to you to figure out how to find it!
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform