Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to conditionally print a 2nd page?
Message
 
À
06/07/1999 12:00:02
Len Wooden
Statistical Resources, Inc
Baton Rouge, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00237707
Message ID:
00237968
Vues:
12
>>There is a faq in the knowledgebase under "frequently asked questions". That shows how to call a sys function to let the user choose the printer, then fire off all of the reports to that printer without a dialog box.
>>
>>>Option 1 is not possible, and considering option 2, how would one go about splitting the report out such that one print command would only bring up one print dialogue? -- we don't want to give the user the ability to print one and not the other if applicable.
>>>
>>>Thanks ! -- Len
>
>Evan, besides not being able to get to the FAQ at this time (I'm getting an error message from the host); this solution won't work with the Print Preview option will it??

Yup
If lcLensReportIndicator = "Preview"
 report foo1 PREVIEW
 report foo2 PREVIEW
 report foo3 PREVIEW
 report foo4 PREVIEW
 ...
ELSE
  * choose printer then send each report
  =sys(1037)              &&choose printer
  report foo1 to printer
  report foo2 to printer
  report foo3 to printer
  report foo4 to printer
  ...
ENDIF
You will need some extra code if you think that the user may can the print job
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform