-
Iif like
I have a statement in my query like this:
TotalNet: IIF(Brand Like "BRANDX" OR "BRANDY*", Formula1, Formula2
However even if i have BRANDZ it still choose formula1. I assume this has to do with the OR statement but I'm not sure. How can I fix this? Thanks so much for your help.
-
TotalNet: IIF((Brand Like "BRANDX") OR (Brand Like "BRANDY*"), Formula1, Formula2
Does that work for you?
-
Yes, thanks for all your help on my recent posts!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules