Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preserving user's choice
Message
De
25/06/2007 12:49:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01235348
Message ID:
01235392
Vues:
19
Re: Capturing Print Dialogue Box Result Thread #644779 Message #644781

>>I would use a slightly different approach. Create a table with a field to store each report name and
a field to store the printer name (if you don't store the table locally, then perhaps a username or workstation name as well). Create a form to allow the user to select what printer each report will print to. When you print, check the table for the report and if it is found, assume that printer, if no match is found, go to the default printer (for those reports that don't require a specific printer to print to or the user has not made a selection for yet).
>>
>
>Unfortunately, PROMPT clause doesn't seem to preserve the user's choice. How can I find out what was selected if I'm using PROMPT clause?
>
>BTW, using llPrinted idea for Preview worked fine. I now just need to either somehow reproduce the PROMPT dialog or figure out the selected printer from it.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform