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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report Crviewer displays Data only once. 1

Status
Not open for further replies.

Davet747

Technical User
Apr 30, 2001
2
US
Has anyone seen this before?
I am running CR8 developer with a VB6 Application.
I am populating an Access table with the report data that I am going to display then running the CRviewer to preview the report. It works fine on the first attempt but after I close the CRviewer and form, the next time it is ran no data is shown in the report.
Am I not shutting down the viewer properly? The last thing I do is report = nothing and form = nothing.

The data in the DB works fine but the only way I can get the report to display again is to shutdown VB and restart. This problem is also happening on the VB executable.
 
I guess no one has seen this before or it is to stupid of a question to be answered.

I found the problem and fix it by adding a sleep function to the Crviewer page

Sleep (0)

This fixed the problem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top