G
Guest
Hello,
I have an AfterUpdate Event that doesn't seem to be working.
Private Sub Inspector_AfterUpdate()
On Error GoTo Err_Inspector_AfterUpdate
Me.InspectorPE = DLookup("PENumber", tblPENumber, Initials = "'" &
Me.Inspector & "'")
Exit_Inspector_AfterUpdate:
Exit Sub
Err_Inspector_AfterUpdate
MsgBox Err.Description
Resume Exit_Inspector_AfterUpdate
The idea is that it should automatically fill in the Inspector's PE Number,
but it does not. Even if I navigate away from the form and come back, it is
not entered in my control.
Any ideas?
Melinda
I have an AfterUpdate Event that doesn't seem to be working.
Private Sub Inspector_AfterUpdate()
On Error GoTo Err_Inspector_AfterUpdate
Me.InspectorPE = DLookup("PENumber", tblPENumber, Initials = "'" &
Me.Inspector & "'")
Exit_Inspector_AfterUpdate:
Exit Sub
Err_Inspector_AfterUpdate
MsgBox Err.Description
Resume Exit_Inspector_AfterUpdate
The idea is that it should automatically fill in the Inspector's PE Number,
but it does not. Even if I navigate away from the form and come back, it is
not entered in my control.
Any ideas?
Melinda