OK so after some playing around I figured out that I was doing something dumb and I finally now get how this stuff works. Now I have the following problem. Basically this is what I have: [/code]Unchecking the box gives me all the results in my query with no filtering. BUT if I check the box, I still get all the results, my filter does not work. I am confused as to why that is. Post Edited by teamdebo at 02/28/2011 19:16</pre><table align="center" border="0" cellpadding="3" cellspacing="1" width="90%" style="border-top-color:rgb(211,211,211);border-right-color:rgb(211,211,211);border-bottom-color:rgb(211,211,211);border-left-color:rgb(211,211,211);border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:dotted;border-right-style:dotted;border-bottom-style:dotted;border-left-style:dotted;">Code:[code]$P{checkbox1}? "where trans_no='$P{trans_no_val}'": ""trans_no_val is a string parametercheckbox1 is a boolean parameter</