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

How to fix this formula error?

Status
Not open for further replies.

LTillner

MIS
Apr 23, 2002
96
US
I wrote a quick formula to change the two letter state abbreviation to the full state name for CA and NV (California and Nevada) in a report. But I'm getting an error that a Boolean is required. How should I really write this formula?

IF {district.cdstate}='CA' then 'California' or
IF {district.cdstate}='NV' then 'Nevada' else ' '

Thanks!

 
It should be:

IF {district.cdstate}='CA' then 'California' ELSE
IF {district.cdstate}='NV' then 'Nevada' else ' '

-LB

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top