Hi All,
I have a field on one of my forms called Status. It is a combo-box with 3 option, Awaiting Collection, Collected and Cancelled. When a new record is entered, the status is usually Awaiting Collection, it later changes to collected.
I want the time to be recorded when this change happens. I have the followwing script in the After Update field:
Private Sub Status_out_AfterUpdate()
If Me.Status_out = "Collected" Then
Me.Collection Tme_out = Now()
End If
End Sub
The status field on my form is called Status_out
The Field for the Collection Time is called Collection Tme_out
What am I doing wrong? When the status is changed it says: Compile error, Method or member not found.
Please help.
I have a field on one of my forms called Status. It is a combo-box with 3 option, Awaiting Collection, Collected and Cancelled. When a new record is entered, the status is usually Awaiting Collection, it later changes to collected.
I want the time to be recorded when this change happens. I have the followwing script in the After Update field:
Private Sub Status_out_AfterUpdate()
If Me.Status_out = "Collected" Then
Me.Collection Tme_out = Now()
End If
End Sub
The status field on my form is called Status_out
The Field for the Collection Time is called Collection Tme_out
What am I doing wrong? When the status is changed it says: Compile error, Method or member not found.
Please help.