I want to begin making better use of my server to feed reports. I would like to feed a report utilizing a stored procedure. I know how to do this with a very simple example - i.e. Select Cust_nbr, cust_name from customers ....
However, I would like the user to be able to select parameters on a form, select the report to run, and then click Preview. I'd like to be able to invoke the Stored procedure with the parameters that the user input and feed the results directly to my report. I do know how to invoke a stored procedure and put the data into an interim reporting table that I then use to feed the report. However, I'd like to go directly from stored procedure to the report. Should I use a record set to store the results from the stored procedure and then feed the recordset to the report?
Thanks for any suggestions.
However, I would like the user to be able to select parameters on a form, select the report to run, and then click Preview. I'd like to be able to invoke the Stored procedure with the parameters that the user input and feed the results directly to my report. I do know how to invoke a stored procedure and put the data into an interim reporting table that I then use to feed the report. However, I'd like to go directly from stored procedure to the report. Should I use a record set to store the results from the stored procedure and then feed the recordset to the report?
Thanks for any suggestions.