Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Store resultset value in ArrayObject(Store resultset value in ArrayObject)
Store resultset value in ArrayObject [message #1857170] Fri, 20 January 2023 21:05 Go to next message
Jagadheeswaran Mohan is currently offline Jagadheeswaran MohanFriend
Messages: 1
Registered: January 2023
Junior Member
Iam running a Dataset on a datasource, i need to use one column values out of the data set to another Dataset which is connected with another datasource.

So i need to store the Array of row['column_name'] to a variable.

I tried creating a page variable and on fetch method i tried using,
uoi[i] = row["uoi_id"];

I was getting no report param called ids, but created one

Then i tried to create globalVariable,
reportContext.setGlobalVariable('uoiids', ["1"]);

while reading this am getting null.

Since this is not working, what i tried is creating a Dynamic param as List, and provided my dataset and column mapping.

And in my 2nd dataset, i used params['ids']

This worked, but the problem is on report param i need to manually select all the values, i need to somehow auto select all the options.
I tried using getDefaultList event, but i dont know how to return the list of array.

And i read in a post getDefaultList will trigger before reading the dataset itself.
I need to atleast know how to select all values by default.

When i tried to Post this in BIRT forum, its saying incorrect password evn thought its right one
Re: Store resultset value in ArrayObject [message #1857172 is a reply to message #1857170] Sat, 21 January 2023 07:57 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33081
Registered: July 2009
Senior Member
Try asking here:

Ed Merks
Professional Support:
Previous Topic:Tried to uninstall and reinstall, now there is an error midway through
Next Topic:Getting selenium with Java error
Goto Forum:

Current Time: Sun Mar 03 03:53:34 GMT 2024

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

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

Back to the top