iif, iif and problems with "( )"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following and it would seem to work but it doesn't. I may have the
brakets in the wrong place. Thanks for your help:

IIf(([Line_Of_Business]="IMPORT BREAKBULK",[Airbill Type]), IIf([Airbill
Type]="IMPORT MISC",[Line_Of_Business])," ")
 
I have the following and it would seem to work but it doesn't. I may have the
brakets in the wrong place. Thanks for your help:

IIf(([Line_Of_Business]="IMPORT BREAKBULK",[Airbill Type]), IIf([Airbill
Type]="IMPORT MISC",[Line_Of_Business])," ")

With just the choices you have indicated, give this a try (I suspect
there are more choices though).

IIf ([Line_Of_Business]="IMPORT BREAKBULK" AND [Airbill
Type]="IMPORT MISC",[Line of Business],[Airbill Type])
 
Hello "pgarcia".

pgarcia said:
I have the following and it would seem to work but it doesn't. I
may have the brakets in the wrong place. Thanks for your help:

IIf(([Line_Of_Business]="IMPORT BREAKBULK",[Airbill Type]), IIf(
[Airbill Type]="IMPORT MISC",[Line_Of_Business])," ")

Did you mean this:
IIf([Line_Of_Business]="IMPORT BREAKBULK",[Airbill Type],
IIf([Airbill Type]="IMPORT MISC",[Line_Of_Business]," ")) ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top