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!

2 Stored Procedures for 1 Report

Status
Not open for further replies.

stnkyminky

Programmer
Oct 15, 2001
476
US
I've got one report that will function from two SP's. During one function the report will need one stored procedure.

During another, separate, function the report will need to
use the other SP.

How do I change the SP refence on the fly for the report? Scott
Programmer Analyst
<><
 
I think that you'll need to use a parameter and 2 subreports (or one).

Then based on the parameter, you can suppress whichever report is pointing to the wrong datasource.

If you're doing this from code, such as ASP/CSP/VB/etc., then you can do this in code.

-k kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top