on 06-27-2011 9:45 PM
I have many reports that use tables in a SQL database as a data source. There can be anywhere from 1 to 10 tables used in a report. I need to change these over to use a single stored procedure. If I set the data source location for each table to the stored procedure it still shows up as multiple tables, not a single stored procedure in the explorer window. What is the best way to do this without removing all of the fields already on the report?
Hi,
The best way I've found to do this is change the location of only 1 table, I prefer the one where most of the fields are from. Once that's done, cancel out of the Linking Expert window.
Now any fields or formulas using the other tables, replace those with the matching fields from the Stored Procedure. Once you've replaced all the fields from the other tables you can remove those tables from the report.
The last thing I do is go into the Database Expert and change the table alias to the Stored Procedure's name.
Good luck,
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brian,
Thanks so much for the tip. Setting the location on one table, that does make it much easier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.