Date expression in Query

S

Steve Stad

I am getting 'undefined function' w/this expression in my qry.
Expr1: IIf(today()<[PoP_End_Dt],"cur","exp")

How do I insert or use todays date in a Query.
 
S

Steve Stad

Thanks Jerry -

Jerry Whittle said:
Expr1: IIf(Date()<[PoP_End_Dt],"cur","exp")
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


Steve Stad said:
I am getting 'undefined function' w/this expression in my qry.
Expr1: IIf(today()<[PoP_End_Dt],"cur","exp")

How do I insert or use todays date in a Query.
 
S

Steve Stad

Thanks Karl

KARL DEWEY said:
Access does not use 'today()' but Date() instead.
--
Build a little, test a little.


Steve Stad said:
I am getting 'undefined function' w/this expression in my qry.
Expr1: IIf(today()<[PoP_End_Dt],"cur","exp")

How do I insert or use todays date in a Query.
 

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