Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving default per report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00080834
Message ID:
00080841
Vues:
28
>How would I go about saving a default printer for each report in VFP5a(without prompting on every print)? I have an exe residing on a network drive that many different users will be running on different PC's. My reports are in private datasessions. I have tried using the sys() function to set default then use set('Printer',2) to store the value, but they are different.
>Basically, what is the best way to have it allow a user to select where each report is to print to once and not have to bother with it again.(And allow a different user to have different defaults)
>
>TIA
>Bill

Hi Bill,

Each user has a printer Set to Default within Windows95. You could issue something like the following before the REPORT FORM.....:

mcDefaultPrinter=SET("PRINTER",2)
SET PRINTER TO NAME (mcDefaultPrinter)
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform