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

Pass down SQL using parameters

Status
Not open for further replies.

synapsevampire

Programmer
Mar 23, 2002
20,180
US
I fear I already know the answer, but is there any way to get reasonable performance from Crystal by passing through SQL when you need to do the following?

Select multiple values from a drop down for a parameter, or if they select the choice of 'All', this part of the where would be eliminated or be set to retrieve all rows.

It appears that as soon as an if is used, the SQL isn't passed.

Is there a cheat, such as concatenating the SQL or some such?

<he said hopefully>

And if there isn't a cheat, does anyone know how difficult it is to customize Crystal Enterprise to allow me to pass through values to a stored procedure rather than use the default parameter gathering method in Crystal?

Crystal seems impossibly bad when there will be multiple choices, or all, am I missing something important here, or do most Crystal users NOT make multiple selections into a parameter and care about the resulting performance?

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top