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

Viewing a Crystal 8 Report without using a full installation

Status
Not open for further replies.

marydn

Programmer
Mar 26, 2001
152
US
Hi,

I have created several reports in crystal 8 that I want my end users to view. However, I don't want them to be able to modify anything. I have read a lot of information about using the crystal viewer. However, the information provided has not helped me. I know there is a way to do this without fully installing Crystal on eveyone's computer. Any help would be great!
 
See the FAQ on compiled reports in the General Forum. Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.
 
Okay - I have now compiled my report. However, I can no longer open them through my Access application. I am using .Action = 1 and get a message "Method Action of object CrystalCtrl failed" How can I get arounf this? I am using Crystal 8.0.

Thanks.
 
Okay , I went to the Crystal support page and used the follwoing line of code:

appCR.ReportFileName = Shell(strreport, 1)

My strReport is the path and name of the executable file I wish to open. The only problem I am encountering now is that I pass a parameter to my report and for some reason the compiled report does not pick up the parameter, whereas the direct Crystal report did. I am prompted for the parameter when I click to view the report. Is there any way I can get around this? Version 8.

Thanks.
 
You can't launch compiled reports from an application. Compiled reports are for standalone reports. If you are launching from an application you should use one of the 4 integration methods. I have used them with VB but not with MS Access. I hear that certain verisons of MS Access can do pretty much the same thing as VB. Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top