I am using the below code, so that an item is only displayed if completed within the last month. But it doesn't work, no errors are shown but the dates older than a month still show up. Can anyone shed some light on this!?
datenow = DateAdd("m", -1, Date)
sqlString = "active=1 And completedDate >= " & datenow & ""
Cheers
Tim
datenow = DateAdd("m", -1, Date)
sqlString = "active=1 And completedDate >= " & datenow & ""
Cheers
Tim