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
Fake Antivirus program prevents any application from being launched
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
Mapping drives over a site to site VPN
Google Apps Gmail and legacy MS Exchange (SBS) 2003 Synchronisation
Drupal Frontpage - Views through PHP
Disk Manager doesn't see the ISCSI Virtual Disks but One
Group By Sql Query
Flex custom component to layout in center of page...
phpmailer errorInfo
asp NOT REFRESHING