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
How to delete Clonezilla Images
web design vs dev
Office Word 2007
Using VLookup for Data Validation
Show all records when variable is null
OWA 2007: "The administrative limit for this request was exceeded"
I am looking forward to learn about JSF with ICEfaces
Internet Explorer Nonfunctional After IE8 Upgrade
Sharing camcorder footage
Accuracy of data