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
Is there any way to limit what the users see in shared calendars in Exchange 2003 / Exchange 2007?
How to do paggination in Jsp
WebService Client problem
How do I configure OWA internal/external URL's?
How to write script for the requirment?
Migrate SBS 2003 to Server 2008 R2
Remove row if column B and C are empty
DB2 vs SQLServer
100% CPU usage in vCenter but not in taskmanager on the Windows NT 4.0 VM that has been converted
E72 - How to make email work without activating data services?