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: remove the Anonymous User from the Everyone Group....
Visual Mapping Software
Append extra data to the right of common data between files
How to stablish a proper setup in MS Outlook 2003 encrypting mails
Migrate from Windows 2003 Domain to New Windows 2008
Need a driver for sm bus controller on Dell d620
bulk collect - amount of return
SSIS reuse the object variable
Exchange 2003 (SBS) not sending or receiving.
Exporting & Importing WAS profiles