Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Dataset definition, query retrieved from a URL(Defining a dataset, instead of defining the SQL query locally, can it be retrieved from a URL)
Dataset definition, query retrieved from a URL [message #681781] Thu, 09 June 2011 20:47 Go to next message
HenriVDB  is currently offline HenriVDB
Messages: 1
Registered: June 2011
Junior Member
When defining a dataset, instead of defining the SQL query locally, is there a way to retrieve it from an external resource, such as an SVN repository?
Re: Dataset definition, query retrieved from a URL [message #682208 is a reply to message #681781] Fri, 10 June 2011 15:39 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

You have to define something locally but you can change the query before
it runs in the beforeOpen of the dataset. eg

this.queryText = "Select * from orderdetails";

You can also call out to Java eg

importPackage(Packages.my.test.package);
var myclass = new MyClass();
this.queryText = myclass.getQuery();

Jason

On 6/9/2011 4:47 PM, HenriVDB wrote:
> When defining a dataset, instead of defining the SQL query locally, is
> there a way to retrieve it from an external resource, such as an SVN
> repository?
Previous Topic:fit image to container AND page break issue
Next Topic:Get windows Username
Goto Forum:
  


Current Time: Tue Sep 23 04:32:32 GMT 2014

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

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