Hi i have a date field in my form and i want the date to be false after a 3 month period has expired i have tried the code below but the incorrect date just populates the field
If Date ,DateAdd("m",-3,Now()) Then
Date.Value=False
End If
Aother tip - replace Now() with Date() (to eliminate the time part of your code) and it will speed up a bit, unless the time component is needed for your program.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.