troubleshooting Question

Crystal report v.9

Avatar of fmax01
fmax01 asked on
Visual Basic Classic
30 Comments1 Solution1221 ViewsLast Modified:
Hello,

i need some help about Crystal Report....

I have build the report on Crystal and that run ok!

Now i will insert this report into the VB application.

I tried but the following message appears:

run-time error "424"
object required


this is the code inserted into the application:

Dim Report As CRAXDRT.Report
Dim crxApp As CRAXDRT.Application

Set crxApp = New CRAXDRT.Application
Set Report = crxApp.OpenReport("c:testrpt.rpt", 1)
 
'after we have a valid instance of the report object, assign it
CRViewer91.ReportSource = Report
CRViewer91.ViewReport

Thanks in advance for any help
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 30 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 30 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros