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

Blank Page

Status
Not open for further replies.

AceJet

IS-IT--Management
May 10, 2001
12
MY
Hii,
I been trying to print a report out from VB6 either in preview or to printer but always blank report will appear. I have disable the save data option in the report setting but still invail. If I put in two action code to the same report then the second one will contain the report information but still not the first one. Any idea how to resolve this ?

Thank's
 
Can you run the report successfully from the design environment?

Are you passing info to the report?
What code launches the report? Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.
 
Thank's for the reply. Yes I can run successfully from the crystal report and the preview came out as what I designed.
I didn't pass any parameters argument from VB6 to crystal report but only calling the crystal report activex by using
crystalrpt.action = 1. Whereby this is set which report to print.

I use two line crystalrpt.action = 1 and the first one always appear as blank page but the second one is what I needed.

 
Hello

Before the action = 1, try placing in DiscardSavedData. See if this pushes it to get the data.

If not, what other code or information are you coding in front of the action = 1 that pertains to the report. ie are you setting the location of the database to the report etc?

Hope this helps. E. McEvoy
Crystal Reports Consultant
emcevoy@crystalconsulting.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top