CharlieT302
Instructor
Hi All,
I have a combo box on a main form that displays Social Security numbers from a table. The main form contains a subform that displays employee assignments in a tabular format.
I want to select a number from the combo box (main form) and have the subform navigate to the record. I do not want to filter the subform list; only navigate to the record. Both the combobox and subform use the same data source.
I have tried (my syntax is obviously off):
Dim rs object
Set rs = Me.Recordset.clone
Rs.findfirst "Me!Frm_Employee_sub![Soc_Sec] = '" & me![Soc_Search] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
Any thoughts?
Thanks
I have a combo box on a main form that displays Social Security numbers from a table. The main form contains a subform that displays employee assignments in a tabular format.
I want to select a number from the combo box (main form) and have the subform navigate to the record. I do not want to filter the subform list; only navigate to the record. Both the combobox and subform use the same data source.
I have tried (my syntax is obviously off):
Dim rs object
Set rs = Me.Recordset.clone
Rs.findfirst "Me!Frm_Employee_sub![Soc_Sec] = '" & me![Soc_Search] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
Any thoughts?
Thanks