Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If then else statement

Status
Not open for further replies.

ChrisH1

IS-IT--Management
Joined
May 23, 2006
Messages
36
Location
GB
Hi

Im trying to create the following formula :

If {job.unit} =

"unit1" or
"unit2" or
"unit3"
then
{job.invoiced}

Im getting an error with regard to a missing boolean. Can anyone please help correct my obviously poor attempt at a formula.

Many Thanks

Chris
 
Try:

If {job.unit} in ["unit1", "unit2","unit3"]
then
{job.invoiced}

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top