April 3, 2009 at 10:31 am
Hi,
I have 3 sub reports (sub1, sub2, sub3) being called in MainReport. I need a dynamic MainReport header based on the Subreport being displayed.
IS IT POSSIBLE TO HAVE SUBREPORT NAME IN THE HEADER OF THE MainReport.
i cannot have header in the tables and charts that i use in the subreport because my subreport format and tools being used does not help me display the header in each page.. so i nned a dynamic header in the MainReport which will change based on the subreport being displayed
Please help
Thank you...
April 3, 2009 at 12:33 pm
Are you rendering all the sub-reports at the same time in the main report or is there something in the parameters or data that determines which sub-report is rendered?
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 3, 2009 at 1:37 pm
All the subreports are rendered at once.. Just one ID parameter is being passed.. but it is for the selection of an Account so that all subreports use the same account.. no other parameter is being passed.. and all the subreports are rendered at once.
April 3, 2009 at 2:00 pm
My aim is to have a booklet type report.... i have an index with all the index topics as subreports.
now.. the header should have the name of the subreport (which is an index topic, like we have in our books.) and so when the subreport runs it should have its name in the header and when next subreport runs the name should also change.
i cannot use table header because all tables dont run on each page as i have multiple tables in each subreport.
hope this makes sense.
April 3, 2009 at 2:10 pm
I don't think that there is a way to do what you want at least not dynamically. Could you use a textbox above each subreport with static text and force a page break after each subreport?
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 3, 2009 at 3:31 pm
Thank you for your reply Jack,
I was just working around and I now have parameters to select the subreport to be generated.
so for sub1, sub2, sub3 i have para1, para2, para3 respectively.
so do you have any idea if i can use this parameters in the MainReport heading to be displayed when their respective subreports are being displayed.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply