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

Nested Ifs Possible?

Status
Not open for further replies.

nnaxor

Technical User
Mar 30, 2001
8
US
Hello. I am kind of new to business objects and I am trying to nest an if statement as a function, as I find no select or case argument. Is this possible? I use the following:

=If Min(<Locationname>) > &quot;G59346A&quot; AND Min(<Locationname>) < &quot;G59348F&quot; Then &quot;LIQUOR&quot; Else If Min(Left(<Locationname>,1) = &quot;G&quot; THEN &quot;GROCERY&quot; Else &quot;No&quot;

and I get a bad syntax and the then between &quot;G&quot; and &quot;GROCERY&quot; is highlighted.

Any ideas?
 
Looks like you are missing a bracket after the Left command.

Try :

=If Min(<Locationname>) > &quot;G59346A&quot; AND Min(<Locationname>) < &quot;G59348F&quot; Then &quot;LIQUOR&quot; Else If Min(Left(<Locationname>,1)) = &quot;G&quot; THEN &quot;GROCERY&quot; Else &quot;No&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top