Home
Analytics
Null values / empty values in a Paramet
egolan74
Hello,
We are using BIRT 2.3 and are puzzled where to set a parameter so it won't have null values and / or empty values.
I have a List Box parameter and want that the null option and the empty option will not be shown.
I saw it in examples but I think with older BIRT versions.
How can I configure this.
It is really annoying.
Thanks
Find more posts tagged with
Comments
TheRealDea
Are you talking about at the parm page when you choose preview?
egolan74
<blockquote class='ipsBlockquote' data-author="TheRealDea"><p>Are you talking about at the parm page when you choose preview?</p></blockquote>
<br />
Yes, but also in the view itself. Where I can select type of view (html, pdf, etc.).<br />
<br />
More general, the Parameters Dialog.
mwilliams
Hi egolan74,
Is your parameter set to required or is it not required?
egolan74
<blockquote class='ipsBlockquote' data-author="mwilliams"><p>Hi egolan74,<br />
<br />
Is your parameter set to required or is it not required?</p></blockquote>
<br />
We have many reports. In some of them the parameter is required and some not.<br />
most are List Box, so we get two more (unwanted) options.<br />
Some of the parameters have static values and some dynamic (from DataSet).<br />
<br />
We've noticed that when a parameter is required than there aren't the options of null or empty.<br />
Why is that? Why not like the earlier version?<br />
<br />
Thanks
mwilliams
egolan74,<br />
<br />
Your best bet is probably to create your own parameter page. Then you can handle null values however you want. This past forum post should help you out:<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.com/forum/designing-birt-reports/11722-parameter-null-value.html'>http://www.birt-exchange.com/forum/designing-birt-reports/11722-parameter-null-value.html</a><br
/>
<br />
Good luck!