IIf statements

G

Guest

How do you join two iif statements into one? i have two iff statements, the
first being

NewDate: IIf([New]=[Saturday],[Monday],[New])
and the second being
NewDate: IIf([New]=[Sunday],[Monday],[New])

I would like these in the same field of my query, so I won't have to have
two separate queries, one for each iif statement. How do I do this?
 
A

Andi Mayer..

How do you join two iif statements into one? i have two iff statements, the
first being

NewDate: IIf([New]=[Saturday],[Monday],[New])
and the second being
NewDate: IIf([New]=[Sunday],[Monday],[New])

I would like these in the same field of my query, so I won't have to have
two separate queries, one for each iif statement. How do I do this?


IIf([New]=[Saturday] or [New]=[Sunday] ,[Monday],[New])
 
G

Guest

I get paid per k, like the MS programmers. :)

Andi Mayer.. said:
How do you join two iif statements into one? i have two iff statements, the
first being

NewDate: IIf([New]=[Saturday],[Monday],[New])
and the second being
NewDate: IIf([New]=[Sunday],[Monday],[New])

I would like these in the same field of my query, so I won't have to have
two separate queries, one for each iif statement. How do I do this?


IIf([New]=[Saturday] or [New]=[Sunday] ,[Monday],[New])
 

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

Similar Threads


Top