This.oReport.PrintOut()
>
>Yes, this is my code (learn from article. :) ).
>
>=SYS(2333,1)
>THIS.Caption = mTitle
>THIS.oCrystalReports = CREATEOBJECT('CrystalRuntime.Application')
>THIS.oReport = CREATEOBJECT('CrystalRuntime.Report')
>THIS.oReport = THIS.oCrystalReports.OpenReport(lReport)
>THIS.addObject('oleCRViewer','oleControl','crViewer.crViewer')
>THIS.resize
>THIS.oleCRViewer.ReportSource = THISFORM.oReport
>THIS.oleCRViewer.ViewReport()
>
>So, how can I bring up the printer setting dialog box as what I do in VFP :
>
>REPORT FORMAT abc TO PRINTER PROMPT PREVIEW ?
>
>TIA.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer