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

criteria and Access 1

Status
Not open for further replies.

SharonMee

MIS
May 7, 2004
210
0
0
CA
Hi all:

I am setting up a query in Access.

I have 2 date colums, Since Date & Logged Date. How do I say "If Since date" is null, = logged date.

Thanks
 
NewDate:iif([Since Date] is null,[Logged Date], [Since Date])

Mich
 
Another way:
NewDate: Nz([Since Date], [Logged Date])

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top