Hi all.
Im using a report that returns job information, names, complexity. etc.
One of the groups (complexity) has a subreport in it.
the subreport needs to perform calculations for totaling, etc. based on individual complexity ratings.
I am using a an SQL query as the source for the subreport.
How would i pass the complexity value to the subreport query (Or, how would i access a field on the parent report from the subreport) in order to have the SQL query use the appropriate where clause?
ie..
for the group where complexity = 1, the subreport needs to be something like 'SELECT * from projects WHERE complexity = 1'
for the group where complexity = 2, the subreport needs to return 'select * from projects where complexity = 2' and so on and so forth
Any help would be appreciated
Thanks,
Jon
Im using a report that returns job information, names, complexity. etc.
One of the groups (complexity) has a subreport in it.
the subreport needs to perform calculations for totaling, etc. based on individual complexity ratings.
I am using a an SQL query as the source for the subreport.
How would i pass the complexity value to the subreport query (Or, how would i access a field on the parent report from the subreport) in order to have the SQL query use the appropriate where clause?
ie..
for the group where complexity = 1, the subreport needs to be something like 'SELECT * from projects WHERE complexity = 1'
for the group where complexity = 2, the subreport needs to return 'select * from projects where complexity = 2' and so on and so forth
Any help would be appreciated
Thanks,
Jon