Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report shows correct 1st time but not subsequently

Status
Not open for further replies.
Nov 27, 2002
8
US
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 = &quot;DBQ=<CRWDC>DBQ=problemcc.vbd&quot; 'Connects
to the database
CrystalReport1.Action = 1
CrystalReport1.Reset

Any suggestions?
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top