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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If Statement In Crystal

Status
Not open for further replies.

Scooby62

MIS
Jul 10, 2002
97
0
0
CA
Hi There.

This is super basic. I was wondering how to format this statement:

If({Organization.Work Status}In["HrlyFT","HrlyPT"]) then "H"
Else "S"

Won't let me save it.

Any ideas and sorry for being so lame.
 
Where are you creating this formula? You should be in view->field explorer->formula->new. Also, what error message are you getting? You don't really need the parens, but that shouldn't cause the formula to fail:

If {Organization.Work Status} In ["HrlyFT","HrlyPT"] then "H"
Else "S"

Also make sure the syntax is set to "Crystal", not "Basic".

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top