Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to pass a list of integers to birt parameter value?

How do I pass three integers - 1111,2222,3333 to the value of WS_FACTID?

http://4.bp.blogspot.com/_2YQMPJPq75s/TGmLk-EpwVI/AAAAAAAAAK8/5HwJjYoDPkw/s1600/birt.png


I tried {1111,2222,3333} but didn't work... :(

1

2 votes

Comments

 I have similar issue, I'd like to pass multiple values as parameter to FACT_ID column. Were you able to solve the problem? 



3 answers

Permanent link
well, there are two issues here

1. passing multiple parameters
2. the report USING multiple parameters..
     do we know if the report SUPPORTS using multiple numbers concurrently?

0 votes


Permanent link
My problem was that I had a set of FACT_ID fetched in one data set, and then I had to fetch value of PREV_FACT_ID of each FACT_ID in set.
I was able to solve this by setting Data Set's query programatically in beforeOpen script.


In Clement's case (pass three integers - 1111,2222,3333 to the value of WS_FACTID) the queryText would be:

this.queryText = 'WS_FACTID IN (1111,2222,3333)';

0 votes


Permanent link
I have got the very same problem, i need to pass a list of item ids into the parameter, but not via own parameters... the proposed solution does not work in my case, is there anyone who knows how i could solve this issue? :( thank you!

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 16 '10, 3:23 p.m.

Question was seen: 11,685 times

Last updated: Jul 09 '14, 10:42 a.m.

Confirmation Cancel Confirm