rsb1222
asked on
Syntax for Access Query using Dates
What is the correct syntax for the following:
I am trying to write a query which evaluates whether today's date is between two dates - - if so, then perform a calculation, else Null. I'm having trouble with the date syntax.
This is what I have tried:
Expr: IIf(Date() > #[BeginningDate]# and < #[EndingDate]# , [PerformCalculation] ,Null)
Thank you.
I am trying to write a query which evaluates whether today's date is between two dates - - if so, then perform a calculation, else Null. I'm having trouble with the date syntax.
This is what I have tried:
Expr: IIf(Date() > #[BeginningDate]# and < #[EndingDate]# , [PerformCalculation] ,Null)
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.