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

Passing Sql from vb6 to CR8 1

Status
Not open for further replies.

jabbylay

Programmer
Dec 27, 2003
2
PH
im new in using crystal reports. I would like to know how to pass an sql statement from a vb6 application system to crystal reports. Is this possible? if so, please help me. if not, is there a work around to this?
 
If you intend the change the SQL, then it sounds like you'll also need to dynamically build a report. Here's the sample applications for VB using the RDC:


If all you're doing is filtering data against a known set of tables/joins, then consider creating a report and passing a Crystal record selection formula or just Crystal Parameters to it as opposed to constructing a dynamic SQL statement and a report on the fly.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top