Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select Printer in Crystal Report Viewer
Message
De
07/10/2003 08:44:40
 
 
À
07/10/2003 02:51:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00835635
Message ID:
00835715
Vues:
10
Put the following code in the PrintButtonClicked event
ThisForm.oReport.PrinterSetup(0)
DODEFAULT(.T.)
>Sorry, I post the previous message accidently.
>
>I Question is how to enable user select printer from the Crystal Report Viewer before they print out the report.
>
>
>TIA.
>
>
>My Code :
>
>=SYS(2333,1)
>THIS.Caption = mTitle
>THIS.oCrystalReports = CREATEOBJECT('CrystalRuntime.Application')
>THIS.oReport = CREATEOBJECT('CrystalRuntime.Report')
>THIS.oReport = THIS.oCrystalReports.OpenReport(mReport)
>THIS.addObject('oleCRViewer','oleControl','crViewer.crViewer')
>THIS.oleCRViewer.EnableExportButton = .T.
>THIS.resize
>THIS.oleCRViewer.ReportSource = THISFORM.oReport
>THIS.oleCRViewer.ViewReport()
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform