I’m trying to compare a date field in Access 2010 to 90 days from today’s date. This formula will be in a text box on a report. I’ve tried adding the statement shown below but it asks me for the value of ‘d’ when I run the report.
IIf([DUE_DATE]>(DateAdd(d,90,Date)),[LETTER_DUE_DATE],Date)
Can you help me understand what I’m doing wrong?
In MS Access, dates are double, just add:
If you must use DateAdd, d is a string: