I'm trying to preview a CR report, but everytime I issue the report.Preview command, the preview window briefly shows, then dissapears. I think it's loosing focus as soon as it is displayed. What am I doing wrong?
Code excerpt: (Assume the report itself is valid, ie, if I issue the PrintOut command, the actual report does print...)
*======================
* Create the CrystalReports report object
ReportApp = CreateObject("Crystal.CRPE.Application")
rpt1 = ReportApp.OpenReport(lcReport)
rpt1.Preview
*======================
TIA!