G
Guest
you responded to my question about setting uop an event to alert users of
needing to update a record with this:
You can place code in the "OnCurrent" event of your form that will check the
value of the date and provide information to the user.
The code would be something like:
If Not IsNull(Me.NameOfDateField) then
If me.NameOfDateField < Date then
Msgbox "The Biology exam date is past due!"
End IF
End If
By using the acutual name of your Date control in place of the
"NameOfDateField" in both places above, every time a record is displayed in
your form, this code will check to see if the date in the Bilology Date field
is less than todays date. If it is, the message box will be displayed.
If there is no value in the Bilology Date field or the value in the Bilology
Date field is equal to or greater than todays date, then no message will be
presented.
It sounds like the perfect thing but I'm not sure how to achevie this. I
don't know that much about access and I am trying to get this project done.
If you could break down the steps a little simpler I would be in your debt.
If there is anyone else who could break this down in a how-to step by step
guide including the exact code I'd be overjoyed, thanks.
needing to update a record with this:
You can place code in the "OnCurrent" event of your form that will check the
value of the date and provide information to the user.
The code would be something like:
If Not IsNull(Me.NameOfDateField) then
If me.NameOfDateField < Date then
Msgbox "The Biology exam date is past due!"
End IF
End If
By using the acutual name of your Date control in place of the
"NameOfDateField" in both places above, every time a record is displayed in
your form, this code will check to see if the date in the Bilology Date field
is less than todays date. If it is, the message box will be displayed.
If there is no value in the Bilology Date field or the value in the Bilology
Date field is equal to or greater than todays date, then no message will be
presented.
It sounds like the perfect thing but I'm not sure how to achevie this. I
don't know that much about access and I am trying to get this project done.
If you could break down the steps a little simpler I would be in your debt.
If there is anyone else who could break this down in a how-to step by step
guide including the exact code I'd be overjoyed, thanks.