Skip to main content



      Home
Home » Archived » BIRT » Data extraction task for a specific result set
Data extraction task for a specific result set [message #367350] Thu, 05 March 2009 13:18 Go to next message
Eclipse UserFriend
Hello,


Is there a way to control the name of the result set which is generated
for a given scripted data set?

The reason is that I have multiple data sets in my report and I would like
to be able to specify which result set will be extracted when using a data
extraction task.

I know I can use something like:

IDataExtractionTask extractTask =
mReportEngine.createDataExtractionTask(...);
List resultSetList = extractTask.getResultSetList();
IResultSetItem resultSet = (IResultSetItem) resultSetList.get(0);
String resultSetName = resultSet.getResultSetName();
extractTask.selectResultSet(resultSetName);

but how do I make the link between the result set and the data set I want
to extract data from? (The result set name is something like "ELEMENT_37"
in my case and this does not help me).

Thanks for your help
Re: Data extraction task for a specific result set [message #367379 is a reply to message #367350] Mon, 09 March 2009 13:25 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Nicolas,

Name the table (general properties) that is bound to the scripted
dataset and it should show up instead of the default ELEMENT_ name.

Jason

Nicolas wrote:
> Hello,
>
>
> Is there a way to control the name of the result set which is generated
> for a given scripted data set?
>
> The reason is that I have multiple data sets in my report and I would
> like to be able to specify which result set will be extracted when using
> a data extraction task.
>
> I know I can use something like:
> IDataExtractionTask extractTask =
> mReportEngine.createDataExtractionTask(...);
> List resultSetList = extractTask.getResultSetList();
> IResultSetItem resultSet = (IResultSetItem) resultSetList.get(0);
> String resultSetName = resultSet.getResultSetName();
> extractTask.selectResultSet(resultSetName);
>
> but how do I make the link between the result set and the data set I
> want to extract data from? (The result set name is something like
> "ELEMENT_37" in my case and this does not help me).
>
> Thanks for your help
>
>
>
Previous Topic:how to create a (modell diagram) from EMF dataset
Next Topic:Global Variable questions
Goto Forum:
  


Current Time: Fri Oct 31 17:04:13 EDT 2025

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

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

Back to the top