Hi,
I am trying to write an if/then statement in crystal reports, however I keep receiving an error message stating that a boolean is required. Here is my formula:
if {time_project_tasks.task_code} in ["WORK"] then ("003652252-070196") Or
if {time_project_tasks.task_code} in ["MGTGS"] then ("003652252-11111")
else ("0")
The error message appears right before the string of numbers. Any help would be appreciated.
I am trying to write an if/then statement in crystal reports, however I keep receiving an error message stating that a boolean is required. Here is my formula:
if {time_project_tasks.task_code} in ["WORK"] then ("003652252-070196") Or
if {time_project_tasks.task_code} in ["MGTGS"] then ("003652252-11111")
else ("0")
The error message appears right before the string of numbers. Any help would be appreciated.