flyboy66102
MIS
Using CR 8.5 OCX, I am able to run my report perfect the first time,
however when try to run the report a
second time, I come up with no data in the report, all I have is just
the colum headings. If I stop the app, and rerun it using the same
criteria it works fine, until I run it a second time.
Here is my code example..
CrystalReport1.Reset
CrystalReport1.WindowState = crptMaximized
CrystalReport1.ReportFileName = "reports\OutageReport.rpt"
CrystalReport1.Connect = "DBQ=<CRWDC>DBQ=problemcc.vbd" 'Connects
to the database
CrystalReport1.Action = 1
CrystalReport1.Reset
Any suggestions?
Thanks
however when try to run the report a
second time, I come up with no data in the report, all I have is just
the colum headings. If I stop the app, and rerun it using the same
criteria it works fine, until I run it a second time.
Here is my code example..
CrystalReport1.Reset
CrystalReport1.WindowState = crptMaximized
CrystalReport1.ReportFileName = "reports\OutageReport.rpt"
CrystalReport1.Connect = "DBQ=<CRWDC>DBQ=problemcc.vbd" 'Connects
to the database
CrystalReport1.Action = 1
CrystalReport1.Reset
Any suggestions?
Thanks