Hi again
I have a subform (called sfrmLinks), this is a child to the main form (frmMain) in my db which I want to use to be able to navigate to linked records.
Basically, in the subform have 3 combo boxes where I can select and store the linked records.
Next to each is a button, and i want to navigate to the linked file when the button is pressed.
I think the code is something like this:
but it doesnt work. I think it is something to do with the fact the combo box is on a subform and the ID is on the parent form.
can anybody help me please.
I have a subform (called sfrmLinks), this is a child to the main form (frmMain) in my db which I want to use to be able to navigate to linked records.
Basically, in the subform have 3 combo boxes where I can select and store the linked records.
Next to each is a button, and i want to navigate to the linked file when the button is pressed.
I think the code is something like this:
Code:
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[ID] = " & Me![Combo12]
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
but it doesnt work. I think it is something to do with the fact the combo box is on a subform and the ID is on the parent form.
can anybody help me please.