Sunday, February 19, 2012

How to use a checkbox for Boolean Report Parameter?

All booleans values that I set inside the report parameters show up as true/false radio buttons on the report. Is there anyway to make these checkboxes instead of radio buttons?

You can convert radiobuttons to dropdown by specifying available values "true" and "false"

To get checkboxes you could use String or Integer parameter instead of Boolean

|||

Can you explain,I tried this option it is not working. I create a Sp,it accepts 1 or 0 as input parameter.

Thanks,

Prabu

|||

In the available values grid enter two rows:

1st: set label to True, value to 1

2nd: label to False, value to 0

|||

It would be a nice feature in further releases: Show a single checkbox for a boolean instead of two radiobuttons. Then unchecked would be false and checked would be true.

It would also be nice to define the default return value ... now the radiobutton (true) returns true. (Well it makes sence but sometimes its usefull to turn it around and keep the radiobuttons)

No comments:

Post a Comment