There are lots of examples of how to use VB, a form, and a crystal viewer to load, send parameters, and view a crystal report on the Business objects web site.
check out the third sample labeled visual basic 6 rdc Very good example. I gave the basic steps in an earlier post but to post the code here would not be nice looking. Reliant on the form design, object names etc. Also my code is sometimes very generic and in modules since I use this VERY frequently at Macola sites.
The example above should get you all you need. Remember though that the components used must be on all the machines that are going to use the report generator.
In your project you will be creating a button that simply loads a macola user form. Your parameters and such can be taken from the original form.
Once you get some code and have problems, let me knowif I can help then.
Thanks
Andy Baldwin
"Testing is the most overlooked programming language on the books!"
Ask a great question, get a great answer. Ask a vague question, get a vague answer.
Find out how to get great answers FAQ219-2884.
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.