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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal + VB

Status
Not open for further replies.

kovas

Technical User
Aug 6, 2002
88
US
is it possible to do a select statement in vb and then pass it on to crystal?

right now i have many reports all with different select statements, i was wondering if i could just make my selections in vb and pass it on to crystal and just reuse the same one report. Like maybe make a query in vb and pass it to crystal for report generating?

hope this makes sense ;)

thanks
 
You can either build a Crystal syntax formula in VB and pass it to the selection formula of the reports. Or, you can build a record set in VB and pass it. But if you go to recordsets, you will probably have to recreate all of the reports. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
- tek@kenhamady.com
 
thanks for the reply Ken. I knew it could be done. Do you know where I can find more info on how to do this or perhaps examples? I am probably not going to redo all my reports but it would be nice to know for the future.

thank you.!
 
There are several good resources for VB material. Crystal comes with a developers guide, and there are several application examples on their web site. There are also several independent books that you can buy, including my own "Quick Reference Guide". Another very popular book that covers all of Crystal is the "Complete Reference" by George Peck. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
- tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top