I have Crystal Reports 8.0 and need to integrate it with VB so I can create reports while in VB. Like the version that comes with VB in the Add In Manager.
How do I go about doing this? Rob
Just my $.02.
When you install CR 8 (or 8.5) it should already be available to VB. You have to go to Project Components and add it as a Designer referrence. Then you can add a new Crystal Report just as you would a form, bas, or class module. I'd recommend upgrading to 8.5 if that is possible. It gives you some features not standard/available to 8.0 (namely the export to pdf ability). As I understand it you could do this somehow with 8.0 but only with various patches and such.
Install CR8.0 or 8.5, and go to the Project Menu in VB.. If you don't see "Add Crystal Reportts 8.0" or "Add Crystal Reports 8.5" then go to Project->Components, select the Designers Tab, and add it. Now it should be in the Project menu.
After you add it, it will ask you what kind of report to add, then if you want to add a form with the viewer control.. You DO want to do this, however, depending on the application, you may or may not want to make it the startup form. It will give you this option..
The viewer form automatically loads and views whatever you have designed in CrystalReport1 (which is the Crystal Report Designer added to your program.)
Within the designer, you have all of the functionality as the Crystal Reports application, plus the added ability of responding to events, and configuring and passing values to the report dynamically.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.