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!

Run report(CR8.5) from VB app

Status
Not open for further replies.

denko

Programmer
May 17, 2001
70
US
I had an Application that ran, previewed and printed report from VB. Now i'm
upgrading to version 8.5 and I can not find half of the properties that were
given with Crystal report component such as Action or all properties that were
used for Print Preview.
Is there a way to run and preview report without using CRViewer?
If not what code do i use to run report?
Thank you.
 
Which integration method were you using?
Did you buy CR developer or professional? Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.
 
I'm using Professional edition of CR8.5
my code that ran report was very simple:
With Form1.CR1
'Print Crystal report
.DataFiles(0) = gDBPath '.mdb name and location
.ReportFileName = gDeriv 'report filename
.Destination = crptToWindow
.Action = 1
DoEvents
End With

error that i get is "unable to load report "
Thanks.
 
Starting with 8.5 you can't use the professional edition for applications. You need the developer edition to launch reports from 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