[RESOLVED] Help First time Use of Crystal Reports11
I need some help to just call the crystal report from a simple VB6 form. No bells no whistles, just view and or print the report. The report is named Guide.rpt. It looks and prints fine from CR11. I just can not seem to find WORKING code to call the rport up from the vb6 program.
Thanks
Bill
Re: Help First time Use of Crystal Reports11
Re: Help First time Use of Crystal Reports11
Ok, I saw that one earlier, what calls the RunReport(). If I call the runreport() on formload I get error user defined type not defined on the first line of your code
VB Code:
Dim crxApp As New CRAXDDRT.Application
If I do nothing besides your code I get no errors or results
What am I doing wrong
Re: Help First time Use of Crystal Reports11
you have to add the reference to your project. on your toolbar go to Project>References then check off Crystal ActiveX Report Viewer Library 11.0...
1 Attachment(s)
Re: Help First time Use of Crystal Reports11
I have the component added. See the screen shot.
Re: Help First time Use of Crystal Reports11
Yes, you have the component added but you also need to add the Reference.
1 Attachment(s)
Re: Help First time Use of Crystal Reports11
Is this what you mean? If so it was already here,
Bill
Re: Help First time Use of Crystal Reports11
1 Attachment(s)
Re: Help First time Use of Crystal Reports11
Ok, this brings me back why I am I getting this error. I know I am doing something wrong I just do not know what it is.
Bill
Re: Help First time Use of Crystal Reports11
ahh sorry I missed a reference... try adding:
Crystal Reporst ActiveX Designedr Design and Runtime Library 11.0
1 Attachment(s)
Re: Help First time Use of Crystal Reports11
Thanks that fixed the first error Now I need to know how to address the variable error.
Thanks
Bill
Re: Help First time Use of Crystal Reports11
crView is the name of the control on the form... you can change that to whatever the name is on the control.
Re: Help First time Use of Crystal Reports11
Thank you Thank You Thank you. My last question is WHERE do you find the information to use these components and how to code them??
I have other ideas that I want to pursue but now I'm not sure it's worth the trouble.
Thank you
Bill :)
Re: Help First time Use of Crystal Reports11
The support from Business Objects really isn't that helpful. I pretty much learned mostly everything from this forum and trial and error. Usually people around here are as helpful as can be if they know the answer. I would just keep posting if you are stuck on something. Just make sure to mark the thread resolved once you have found what you are looking for.
Good luck!