Report Setup Disable Clause

I am building a custom report that takes in a parameter 'p3' with a data type Money. There are another 2 parameters, 'p4' and 'p5' after this one, and I want to disable those parameters when 'p3' is equal to 0. I tried using the expression <<p3>> = 0 in the disable clause. However, when I initiate the report in Tessitura, I get the message "Expression types must match". So I'm guessing it's because it sees <<p3>> as money and 0 as an integer.

I changed the p3 data type over to number and it successfully disabled the parameters with that expression. However, I choose money for a reason so that they could enter in decimals if needed and number data type does not allow that. I changed <<p3>> to a string and tried IsNull(<<p3>>) , <<p3>> = '' and <<p3>> = "". It returned no error message but failed to disable the parameters.

I attempted to use the CONVERT or CAST functions to convert the 0 to a float, decimal, or money, but I'm unsure what data type infomaker would recognize in this scenario. However, regardless of the datatype, I always get a message that I'm missing either an opening or closing parentheses for the function.

Any thoughts on how to use a money parameter to disable other parameters?

Parents Reply Children