G
Guest
Hi All,
I am new to access and vb. I have created a combo box that displays a list
of RGA numbers from a table that I created. When I click on one of the
records, I want to display the entire record. Here is the vb code that I
wrote. I keep getting the message--You entered an expression that has an
invalid reference to the recordset clone property. I do NOT know what to do
to fix it. Here is the code
Private Sub cmbRGAs_Click()
Dim LookFor As String
LookFor = Trim(Me![cmbRGAs])
Me.RecordsetClone.FindFirst "[RGAno] = '" & [LookFor] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
In advance, thanks for your help.
I am new to access and vb. I have created a combo box that displays a list
of RGA numbers from a table that I created. When I click on one of the
records, I want to display the entire record. Here is the vb code that I
wrote. I keep getting the message--You entered an expression that has an
invalid reference to the recordset clone property. I do NOT know what to do
to fix it. Here is the code
Private Sub cmbRGAs_Click()
Dim LookFor As String
LookFor = Trim(Me![cmbRGAs])
Me.RecordsetClone.FindFirst "[RGAno] = '" & [LookFor] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
In advance, thanks for your help.