I am attempting to create a new Crystal 8.0 report using a SQL Server 2000 stored procedure as its datasource. The first step is to select the datasource when creating the report. The stored procedure shows in the list of datasources and I select it. However, once I select it, I am prompted to enter parameters. Regardless of what I enter for parameter values, when I click 'OK', nothing happens. I am still sitting in the select database window. It appears to completely ignore all parameter values I enter and to ignore the datasource(sp) I selected.
So my question is:
1) Do correct parameter values have to be entered prior to using a stored procedure as the datasource?
2) If correct parameter values must be entered, what is the format for entering them through this crystal interface attempting to run the sp? I have a mixture of numeric, date, ranges, and text parameter datatypes.
3) If entering parameter values is not required, why can't I select this stored procedure as the datasource for the new report.
It seems strange to me that as I enter the parameter values and move to the next parameter value, the previously entered value seems to disappear. In other words, clicking back on a parameter I've already entered makes it appear nothing has been entered in it.
Any ideas as to what might be wrong? Query generated by the SP works perfectly when ran through Query Analyzer.
Thanks in advance!
So my question is:
1) Do correct parameter values have to be entered prior to using a stored procedure as the datasource?
2) If correct parameter values must be entered, what is the format for entering them through this crystal interface attempting to run the sp? I have a mixture of numeric, date, ranges, and text parameter datatypes.
3) If entering parameter values is not required, why can't I select this stored procedure as the datasource for the new report.
It seems strange to me that as I enter the parameter values and move to the next parameter value, the previously entered value seems to disappear. In other words, clicking back on a parameter I've already entered makes it appear nothing has been entered in it.
Any ideas as to what might be wrong? Query generated by the SP works perfectly when ran through Query Analyzer.
Thanks in advance!