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!

Trouble Displaying Crystal Rpt In VB6

Status
Not open for further replies.

hbonner

Programmer
Nov 1, 2003
3
US
I am generating a Crystal Report from data out of a True DBgrid 6.0 Pro (OLEDB) in VB6. The program sends the report to a preview window for viewing. It was working, but now displays a blank page and continues to clock, but doesn't fill the page with any data. Eventually, I have to kill the program. I am clueless. I am using Crystal Version 8.5 on an XP machine. Could I have a missing dll?
 
If it was working, and now it's stopped, then presumably your code is fine, I'd check the permissions on the database for the user, or perhaps there's something amiss in the record selection.

-k
 
It is not even working for me in the .vbp where it always worked. It is as if something changed when I created the executable. The data diplays in the True DBgrid, it is just not going to the preview. It immediately diplays a blank page on my print click event, but it never fills it in with data.
 
OK, so there has been a change, you createdd an .exe

Did you then run the .exe on the dev machine?

Do you have Crystal Reports itself?

Try opening it from within there and refeshing.

-k
 
Yes, I ran the executable on the dev machine. Since the report is created during runtime from the data in the tdbgrid, I can't run it from Crystal and refresh.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top