Re: If then statement in a query

J

Joe Fallon

You can nest them inside of each other if you want.

IIf(condition, true, iif(condition, true, false))


That gets pretty confusing pretty quickly.
I would write a VBA function where you could "spell out" the requirements in
a cleaner way.

If condition then

else
If other condition then
else
end if
End if
 

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

Top