Question : Using a subform to bookmark a record on the main form

I have a main form used for entering a trouble ticket. On the main form there is a search area with a subform (single form not continuous) which shows a summary of trouble tickets based on criteria which is user entered.  I'm trying to make it so that when the individual double clicks on the ticket number of the subform, the main form goes to that record. Ticket numbers are unique.

The code I'm using gives me an error not a valid bookmark, I've tried several methods of writing but it keeps giving me the error, what am I doing wrong?
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
Private Sub TCRID_DblClick(Cancel As Integer)
Dim rs As RecordSet
 
Set rs = CurrentDb.OpenRecordSet("tblTelephoneCallReport", dbOpenDynaset)
    rs.FindFirst "[TCRID] =" & Me.TCRID
    Forms.frmTelephoneCallReport.Form.Recordset.Bookmark = rs.Bookmark
 
End Sub

Answer : Using a subform to bookmark a record on the main form

Try this

Private Sub TCRID_DblClick(Cancel As Integer)
Me.Parent.RecordSet.FindFirst "[TCRID] =" & Me.TCRID
End Sub
Random Solutions  
 
programming4us programming4us