Morning everyone.
Tis doesn't seem too difficult, but as with most of my Access issues, I just don't know the syntax or what keywords to search on.
I have two fields I'm working with (many more in dbase). One is a date and the other is a text field with yes/no (should have been a y/n field but I didn't build it).
What I'd like to do is in the OnOpen event for my form, step through the database looking at the date and if the date is less than today then change the yes/no field to yes.
if [dateField] < now() then [Expired] = 'Yes'
Something like this...
Any suggestions??
PB
Tis doesn't seem too difficult, but as with most of my Access issues, I just don't know the syntax or what keywords to search on.
I have two fields I'm working with (many more in dbase). One is a date and the other is a text field with yes/no (should have been a y/n field but I didn't build it).
What I'd like to do is in the OnOpen event for my form, step through the database looking at the date and if the date is less than today then change the yes/no field to yes.
if [dateField] < now() then [Expired] = 'Yes'
Something like this...
Any suggestions??
PB