Hi all,
I have a form field that has a dblclk to open a form for editing. Currently it open form and shows all records and what I am asking is there a way to get this to open the form to just specific businessID?
Code:
Private Sub CboReference_DblClick(Cancel As Integer)
Dim LinkCriteria As String
LinkCriteria = "[ReferenceName] = '" & Me!CboReference.Text & "'"
DoCmd.OpenForm "frmReference", , , , , , Me.CboReference
End Sub
Something like DoCmd.OpenForm "frmReference" Where BusinessID = BusinessID so that when that form opens up to edit i only see the References from that business
Thanks
Dave