Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preserving user's choice
Message
De
25/06/2007 12:08:06
 
 
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:
01235367
Vues:
10
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).


>>>Do you have any ideas how can I achieve this functionality (preferably without report modifications) in VFP8?
>>>
>>>Thanks a lot in advance.
>>
>>I don't see any particular problem. In case of printing from preview you may check some local variable flag that will be reset by any report form band to catch printed/non-printed cases. In case of interactive printer selection you could give to user your own small form to do it and catch any user actions accordingly.
>
>The PROMPT dialog seems to be similar to SYS(1037), not to the GetPrinter(). However, only later returns the result.
.·*´¨)
.·`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