Milothicus
Registered User.
- Local time
- Today, 16:50
- Joined
- Sep 24, 2004
- Messages
- 134
Here's my code. it's in the afterupdate for both dtQuote_Date and dtQuote_Due_Date:
If Me.dtQuote_Date.Value > Me.dtQuote_Due_Date.Value Then
Me.chkLate.Value = True
Else
Me.chkLate.Value = False
End If
Me.chkLate.Requery
the chkLate box never changes. I've tried with and without the else, and with and without the requery. I don't know why it's not working.
am i right to refer to the controls on the form? should i be referring to the columns they're bound to? all the variables came up as options after typeing 'me.' so i assume they're all accessible to the code.
Am i doing something horribly wrong?
If Me.dtQuote_Date.Value > Me.dtQuote_Due_Date.Value Then
Me.chkLate.Value = True
Else
Me.chkLate.Value = False
End If
Me.chkLate.Requery
the chkLate box never changes. I've tried with and without the else, and with and without the requery. I don't know why it's not working.
am i right to refer to the controls on the form? should i be referring to the columns they're bound to? all the variables came up as options after typeing 'me.' so i assume they're all accessible to the code.
Am i doing something horribly wrong?