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!

problem passing multiple selection criteria to linked subreport

Status
Not open for further replies.

gharing

Programmer
Jan 8, 2001
13
US
Ok.. this might be very confusing so I apologize in advance, but would appreciate any help or suggestions.

Here is the situation:

A Supervisor logs into the web page and his id, is used to find all the manager id's under him so that he can see their information. So I pass these id's to base both the main and subreports off of. I also pass a start and end date to both main and subreports.

In the main report, it is grouped initially by these manager id's so that the supervisor can look at all the manager details at a time. The subreport is placed in this grouping and when clicked on should show different information dealing with that specific manager and that specific manager only. Within the web application when this is clicked on the user is taken to the wrong managers information, so the manager id in the subreport does not seem to be matching with the manager id in the main report.

All the other selection criteria and parameters work fine.
The subreport is correctly limited on the date range, but again is not correctly linked to the main report by the manager id. Within the subreport the link is set for these to match. I am not sure, but I think the problem may lie in the fact that I am initially sending mulitple manager id's to the reports to initially be based on. And when the user flips to a page with a certain manager on it, the subreport does not know what id that currently is.

I could be really wrong, but I don't know... I have tried everything I can think of, so any help and suggestions would be greatly appreciated. I'm sure I might have left something out that might have been more helpful so...let me know if I can also provide more information. Thanks again..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top