FineReport Community

Title: How to judge if a parameter is null ? [Print this page]

Author: icy    Time: 2020-5-14 16:18
Title: How to judge if a parameter is null ?
Hi,
I used a parameter for the data query. I wanna realize selecting all in a drop-down checkbox when the parameter is null. I am looking for a way to test whether the parameter was null
Thanks



Author: Sybil    Time: 2020-5-15 09:56
hi Icy,

Use formula for your test.
Suppose the parameter is named p, and judge whether the parameter length is zero using len($p)==0.




Welcome to FineReport Community (https://community.finereport.com/) Powered by Discuz! X3.2