Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to propagate a Data Source to sub reports?
How to propagate a Data Source to sub reports? [message #652649] Fri, 04 February 2011 20:26 Go to next message
Mike Wulkan is currently offline Mike WulkanFriend
Messages: 141
Registered: July 2009
Senior Member
I have a main report that has many drill through links to sub reports.

If I change the URL in the main report to point to a different datasource, I need to make sure all the subreports also point to the new datasource. How can I do this?
Re: How to propagate a Data Source to sub reports? [message #652937 is a reply to message #652649] Mon, 07 February 2011 17:00 Go to previous message
Richard A. Polunsky is currently offline Richard A. PolunskyFriend
Messages: 199
Registered: July 2009
Location: Houston TX
Senior Member

Well, you can go manually and open and edit each report.

Or, you can create a RPTLIBRARY file, create the datasource connection there, then have each of the reports inherit the datasource from the RPTLIBRARY file. That way, you only need to change the datasource in one place and all dependent reports will automatically pick it up.

Richard
Previous Topic:Best practice for setting and getting global variables
Next Topic:Formatting date in Dynamic text
Goto Forum:
  


Current Time: Thu Dec 18 13:42:13 GMT 2014

Powered by FUDForum. Page generated in 0.01598 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software