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!

How do you use a dynamic sql statement for a report

Status
Not open for further replies.

sk8er1

Programmer
Jan 2, 2005
229
US
I have a dynamic sql statement that I use as the dataset for a crystal report. I built the crystal report on a stored procedure that uses COALESCE ...depending on what values the user filled in. When I run the report, the report prompts based on the stored procedure.
I used a dataset, in which i dragged the stored proc onto the VB.NET form. I rather use the dynamic sql string to populate the report....How can i do it that way...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top