G
Guest
Hi,
I have a mainform and a subform (these two forms are NOT linked).
When a selection is made on the main form, it gets added to the subform (the
subform only lists very basic details).
What I am trying to do is when the user double clicks a record in the
subform, a pop up form will open at the same record which the user clicked on
in the sub form.
This is the code that I treid to use and it did not work:
rivate Sub Form_DblClick(Cancel As Integer)
With Me.RecordsetClone
currID = Me.Bookmark
End With
stLinkCriteria = "[ID] = " & currID
DoCmd.OpenForm "frm_BkpExec_Ntepad", , , stLinkCriteria
End Sub
Any assistance would be greatly appreciated.
Cheers,
GLT.
I have a mainform and a subform (these two forms are NOT linked).
When a selection is made on the main form, it gets added to the subform (the
subform only lists very basic details).
What I am trying to do is when the user double clicks a record in the
subform, a pop up form will open at the same record which the user clicked on
in the sub form.
This is the code that I treid to use and it did not work:
rivate Sub Form_DblClick(Cancel As Integer)
With Me.RecordsetClone
currID = Me.Bookmark
End With
stLinkCriteria = "[ID] = " & currID
DoCmd.OpenForm "frm_BkpExec_Ntepad", , , stLinkCriteria
End Sub
Any assistance would be greatly appreciated.
Cheers,
GLT.