T
tmac
I have a form "frmUpdateBrwr" with a button that opens another form
"frmSearch". The second form "frmSearch" has a listbox named List0. I want to
be able to select a name in the listbox and then click a command button and
go to that record in the "UpdateBrwr" form. The code in the command button
click event produces an error. When I go to the debugger, List0 is
highlighted and I get the message "method or data member not found". The code
behind the button's click event is
Private Sub cmdGoToRecord_Click()
Dim rst As Recordset
Set rst = Forms!frmUpdateBrwr.RecordsetClone
rst.FindFirst "IDB = " & List0
Forms!frmUpdateBrwr.Bookmark = rst.Bookmark
DoCmd.Close acForm, "frmSearch"
End Sub
I would REALLY appreciate any help you can give with this.
Thanks,
tmac
"frmSearch". The second form "frmSearch" has a listbox named List0. I want to
be able to select a name in the listbox and then click a command button and
go to that record in the "UpdateBrwr" form. The code in the command button
click event produces an error. When I go to the debugger, List0 is
highlighted and I get the message "method or data member not found". The code
behind the button's click event is
Private Sub cmdGoToRecord_Click()
Dim rst As Recordset
Set rst = Forms!frmUpdateBrwr.RecordsetClone
rst.FindFirst "IDB = " & List0
Forms!frmUpdateBrwr.Bookmark = rst.Bookmark
DoCmd.Close acForm, "frmSearch"
End Sub
I would REALLY appreciate any help you can give with this.
Thanks,
tmac