on 2023 Apr 27 10:03 AM
Dear all,
I have set this query to suppress the header if it's false the condition into Crystal report. But the below query is not working.
If ({GSTTAX_ARINVOICE.EI_ACK_NO}) = "" then
true
else if ({GSTTAX_ARINVOICE.EI_ACK_NO}) = "" and ({GSTTAX_ARINVOICE.BP GSTN}) = !"" then
false
else
false;
How to pass twice times true condition in above syntax Crystal report.
Here , it's gives error like A number ,curreny amount, boolean, date time or string is expected here.
SAP Business One HANA
Kind Regards,
Nikunj
<soapbox>Your expression needs to evaluate to true or false - this doesn't mean you need to specify true or false in an if statement</soapbox> This should work for you because it will return true if {GSTTAX_ARINVOICE.EI_ACK_NO} is empty, but only if {GSTTAX_ARINVOICE.BP GSTN} is not equal to "!". In all other cases it will return false.
{GSTTAX_ARINVOICE.EI_ACK_NO} = "" and {GSTTAX_ARINVOICE.BP GSTN} <> "!"
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
and ({GSTTAX_ARINVOICE.BP GSTN}) = !""
==>
and ({GSTTAX_ARINVOICE.BP GSTN}) = "!"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
116 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.