pbuethe
Returning User
- Local time
- Today, 13:34
- Joined
- Apr 9, 2002
- Messages
- 210
I have a form with a combo box and 2 text boxes. I would like to select from the combo box and enter data into the selected record via the textboxes. After I select from the combo box, I get the message "method or data member not found" on the after update code of the combo box, which is as follows:
Private Sub cboTapeNbr_AfterUpdate()
Dim R As Recordset
Set R = Me.RecordsetClone
R.FindFirst "[txtIDNbr] = " & Me![cboTapeNbr]
Me.Bookmark = R.Bookmark
End Sub
![cboTapeNbr] is highlighted in the code when I get this message.
txtIDNbr is the primary key of the table.
Any help is appreciated!
Private Sub cboTapeNbr_AfterUpdate()
Dim R As Recordset
Set R = Me.RecordsetClone
R.FindFirst "[txtIDNbr] = " & Me![cboTapeNbr]
Me.Bookmark = R.Bookmark
End Sub
![cboTapeNbr] is highlighted in the code when I get this message.
txtIDNbr is the primary key of the table.
Any help is appreciated!