In the double click event of the intended field, open the code and write the following code:
On Error Resume Next
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmName"
stLinkCriteria = "[ID]=" & Me![ID]
DoCmd.OpenForm stDocName, , , stLinkCriteria