Reputation: 4249
In BIRT, How to cast the check box boolean report parameter to string value so string value can be passed to report sql parameter query from oracle database? Thanks.
Upvotes: 0
Views: 1316
Reputation: 4332
Set a default value expression instead of linking this query parameter to a report parameter, as shown below. For example if we want to set "0" when false and "1" when true use an expression like
params["myBooleanCheckbox"].value==null || !params["myBooleanCheckbox"].value?"0":"1";
Upvotes: 3