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
Excel - VBA text formatting
How to redirect requests to a particular web site to a local server?
HTTPS keeps Rest connection [RST,ACK]
load a php file...
security issue in login application: a logged in user is able to edit her or his own profile
Return Ref
Determine MIME types for files in php
ASP Connection String vs. Database Access DLL
Loop and a query
Blank screen After WIn XP splash screen.