N
newkid via AccessMonster.com
Hi All,
Could you please find the time to help me out.
I have a checkbox that the user will update once a job is completed, called
Resolved. The checkbox should automatically update the Resolution_Date text
box with the current date. The Resoultion_Date feild is locked. I also have
a different type of user who can uncheck Resolved putting it back in the que.
I need help with the code so that if the Resolution_Date feild is already
populated and the check box is checked then the textbox Follup_Res_Date be
auto populated with the current date, leaving the Resolution_Date at the
original date when it was first thought to be completed.
Here is my current code which runs without any errors however, it actually
doesnt do anything when I check or uncheck the boxes:
Private Sub Resolved_AfterUpdate()
If Me.Resolved = True And Me.Resolution_Date = Null Then
Me.Resolution_Date = Date
ElseIf Me.Resolved = True And Me.Resolution_Date = Not Null Then
Me.Followup_Res_Date = Date
End If
End Sub
Please Help,
Thanks,
NewKid
Could you please find the time to help me out.
I have a checkbox that the user will update once a job is completed, called
Resolved. The checkbox should automatically update the Resolution_Date text
box with the current date. The Resoultion_Date feild is locked. I also have
a different type of user who can uncheck Resolved putting it back in the que.
I need help with the code so that if the Resolution_Date feild is already
populated and the check box is checked then the textbox Follup_Res_Date be
auto populated with the current date, leaving the Resolution_Date at the
original date when it was first thought to be completed.
Here is my current code which runs without any errors however, it actually
doesnt do anything when I check or uncheck the boxes:
Private Sub Resolved_AfterUpdate()
If Me.Resolved = True And Me.Resolution_Date = Null Then
Me.Resolution_Date = Date
ElseIf Me.Resolved = True And Me.Resolution_Date = Not Null Then
Me.Followup_Res_Date = Date
End If
End Sub
Please Help,
Thanks,
NewKid