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
Do I have to be on domain to FTP?
If IE6 use another .css file.
Invalid length passed to SUBSTRING Function
namespace question
Network Installation/Setup
VMware, vSphere Virtual Machine and Disk Errors "invalid disk type 7" and "cannot detect guest operating system type"
Cannot boot into Windows 7 partition (Blinking cursor) after using Acronis Disk Director resize
Unable to copy and paste files through remote desktop
Printer Migration from Windows 2003 to Windows 2008 R2
VBScript to check if a account exist then what memebership it has