cancel
Showing results for 
Search instead for 
Did you mean: 

A number ,curreny amount, boolean, date time or string is expected here Crystal report

nikunjmehta2290
Participant
178

Dear all,

I am facing below error while suppress the Page header with few conditions. Below is code used in suppress page header.

If ({GSTTAX_ARINVOICE.EI_ACK_NO}) = "" then
    true
else if ({GSTTAX_ARINVOICE.EI_ACK_NO}) = "" and ({GSTTAX_ARINVOICE.BP GSTN}) = !"" then
    false
else 
    false;

Error Like : A number ,curreny amount, boolean, date time or string is expected here.

SAP Business One

Kind regards,

Nikunj

Accepted Solutions (0)

Answers (1)

Answers (1)

ido_millet
Active Contributor
0 Kudos

Change
and ({GSTTAX_ARINVOICE.BP GSTN}) = !""

to

and ({GSTTAX_ARINVOICE.BP GSTN}) = "!"