A
Ayo
I am getting a "variable not defined" error. I didn't have this problem
before. Any ideas?
Private Sub cmbSiteNumber_AfterUpdate()
On Error GoTo ErrHandler
Set rs = Forms!frmSiteConstruction_Information.Recordset.Clone
rs.FindFirst "[SITE NUMBER]='" & Me.cmbSiteNumber & "'" & ""
If Not rs.EOF Then Forms!frmSiteConstruction_Information.Bookmark =
rs.Bookmark
Exit Sub
ErrHandler:
MsgBox "Error in cmbSiteNumber_AfterUpdate() in" & vbCrLf & Me.Name & "
form." & vbCrLf & _
vbCrLf & "Error#" & Err.Number & vbCrLf & Err.Description
Err.Clear
End Sub
before. Any ideas?
Private Sub cmbSiteNumber_AfterUpdate()
On Error GoTo ErrHandler
Set rs = Forms!frmSiteConstruction_Information.Recordset.Clone
rs.FindFirst "[SITE NUMBER]='" & Me.cmbSiteNumber & "'" & ""
If Not rs.EOF Then Forms!frmSiteConstruction_Information.Bookmark =
rs.Bookmark
Exit Sub
ErrHandler:
MsgBox "Error in cmbSiteNumber_AfterUpdate() in" & vbCrLf & Me.Name & "
form." & vbCrLf & _
vbCrLf & "Error#" & Err.Number & vbCrLf & Err.Description
Err.Clear
End Sub