Quantcast
Channel: BIRT Exchange Forum Feed
Viewing all articles
Browse latest Browse all 542

Pass Parameters seperated by commas to Report Using List Box Multiple Value Option

$
0
0
Hi All,

I am facing some problem while making a birtReport.
I amd having almost 10 parameters in my report almost all of which are Listbox multiple value. Some are mandator while others are optional.

Now In parameter binding I amd trying to pass the values from parameter.

The Query is something Like

"..... where BANK.TERRITORY_CODE= '"+params["Country"].value+"'"+
"and RECS_BDR_PROOF.PERIOD_NAME IN ('"+params["Period"].value+"')"+
"and MESSAGE_FEED.BAL_SHEET_CATEGORY IN ('"+params["BS category"].value+"')"+
"and MESSAGE_FEED.COA_SEGMENT_1 IN ('"+params["Company Code"].value+"')"+
"and MESSAGE_FEED.COA_SEGMENT_3 IN ('"+params["Segment"].value+"')"+
"and MESSAGE_FEED.COA_SEGMENT_2 IN ('"+params["GL"].value+"')"+
" group by ........."


There are two things i want to do.
1. If parameter value is slected then only i need to add this to where clause.
2. I want to use IN in where clause so that i can passmultiple value. Right now the resule i am getting value from multiple List box is in the form "[a,b,c]"

Viewing all articles
Browse latest Browse all 542

Trending Articles