vendredi 4 septembre 2020

If else formula on a boolean column in crystal reports

My column has 0 and 1 value. I want if column value is 1 then "active" else "inactive". My formula is

      If{tablename.colname} =1 then    "active" else "inactive".

It gives me an error a boolean is required here.

Aucun commentaire:

Enregistrer un commentaire