I have one form that has a listbox showing the results of a filter, which works fine.
The list box has a doubleclick event that I want to open a form and then find a record on the form. I tried to following but it does not work. Any advice?
With Forms!frmEmployerView.RecordsetClone
.FindFirst "ID = " & Me.lstView
If .NoMatch Then
MsgBox "not found"
Else
Me.Bookmark = .Bookmark
End If
End With
The code works with me.recordsetclone, so i presume I am not referring to the form correctly. I cannot find the help required from google.
The list box has a doubleclick event that I want to open a form and then find a record on the form. I tried to following but it does not work. Any advice?
With Forms!frmEmployerView.RecordsetClone
.FindFirst "ID = " & Me.lstView
If .NoMatch Then
MsgBox "not found"
Else
Me.Bookmark = .Bookmark
End If
End With
The code works with me.recordsetclone, so i presume I am not referring to the form correctly. I cannot find the help required from google.