From: Steve Stad on
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.


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


"Steve Stad" wrote:

> 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.
>
>
From: KARL DEWEY on
Access does not use 'today()' but Date() instead.
--
Build a little, test a little.


"Steve Stad" wrote:

> 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.
>
>
From: Steve Stad on
Thanks Jerry -

"Jerry Whittle" wrote:

> Expr1: IIf(Date()<[PoP_End_Dt],"cur","exp")
> --
> Jerry Whittle, Microsoft Access MVP
> Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
>
>
> "Steve Stad" wrote:
>
> > 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.
> >
> >
From: Steve Stad on
Thanks Karl

"KARL DEWEY" wrote:

> Access does not use 'today()' but Date() instead.
> --
> Build a little, test a little.
>
>
> "Steve Stad" wrote:
>
> > 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.
> >
> >