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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Insert a subreport to a main report at runtime?

Status
Not open for further replies.

gundu

Programmer
Aug 31, 2001
18
US
Hi,

I have many reports, all the reports are have a common header.We want to use a subreport as header.Insted of inserting a subreport at design time , is there any way to insert a subreport at runtime?

Please help me.

regards
Gundu
 
I would say almost certainly No to this using the CR Designer alone, If your using VB or some other development tool as a front end then this may be possible bu I would think rather messy.

Why do you need a sub report ?
Why do you think you need to add this a t run time and not design time ?

Gary Parker
Systems Support Analyst
Manchester, England
 
Hi GJParker

Thank you Very much for your reply.

The reason i need the subreport dynamically is,
insted of asking my team members to add a subreport (Report Header which will have separate datasource) every time they design therir report, i will desgin a report with the my requirements and while i am showing the report form the application, i will combine this subreport(report header) along with the main report and show it to the user.That is how i will save lot of time.

Ofcourse, if i dont find any method, i will ask my team members to insert at the design time only..

Parker, if you have any knowledge on ADO .Net(XML) datasources, Please let me know how to assign that datasource dynamically.

Once again thanks for your suggestion.

With Best Regards
Gundu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top