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
VBA function works on Excel 2007 file locally but not when in SharePoint 2007
Copy multiple files from Unix to Windos: VBS
RDP on 80
Server security analysis to determine patch level
The Sql Statement is not Valid
Access 2010 - packaging a database for distribution
How to change pass AD with WSS 3.0?
cant pass list
Operator '=' is not defined for type 'DBNull' and type 'Integer' - how to fix
Teaching iPhone app creation...Any advice?