Microsoft
Software
Hardware
Network
Question : Return a value if date field is equal to the present date.
I have an access query that has a date field "Order_Date". I would like to add a new field to this query that examines "Order_Date" and if the date is equal to the present date or previous day return a value of "Y" or "N"
Thanks
Answer : Return a value if date field is equal to the present date.
If using the GUI query builder, then the expressions is
IIF(DateDiff("d", Order_Date, Date()) IN (0,1), 'Y', 'N')
Random Solutions
Am I elegible for a free upgrade to Outlook 2010 with this?
SQL Substr Order
Cisco VTY Access to particular line number
How to determine eclipse version?
asp.net SQL Filestream access is denied
how to find my Symantec pcAnywhere serial number
Hyperlink Pop UP
How to Configure Link aggregation on Cisco 3560G?
Multicast session fails to open on secondary site server.
How can I send HTML formatted emails to someone who signs up on my site