D
Don
I have a field in a subform called Status. When I select statusId 3 I want to
automatically have Access enter todays date in the Due Date field. I am
trying the below code but do not understand what the error message is telling
me to do.
Private Sub Combo44_BeforeUpdate(Cancel As Integer)
Dim stDate As String
Dim ingCheck As Long ' Error here "Object Required"
Set stDate = Me.Due_Date
Set lngCheck = Me.Status
If lngCheck Is "3" Then
stDate = Now()
End If
End Sub
What can I do to make this work?
Thanks,
Dennis
automatically have Access enter todays date in the Due Date field. I am
trying the below code but do not understand what the error message is telling
me to do.
Private Sub Combo44_BeforeUpdate(Cancel As Integer)
Dim stDate As String
Dim ingCheck As Long ' Error here "Object Required"
Set stDate = Me.Due_Date
Set lngCheck = Me.Status
If lngCheck Is "3" Then
stDate = Now()
End If
End Sub
What can I do to make this work?
Thanks,
Dennis