I have a form with a subform, and another subform in that subform.
The main form is Client. The first subform is matter (clients have more than one matter). The nested subform is project. (matters have more than one project.
I have a lookup form, which allows users to apply a bunch of filters to find projects. The form shows client, matter, and project info. What I want to do is to make a double-click open the main form, but navigated to the project nested subform.
I can get the event to open the main form and nav to the proper client, but the matters and projects are a mystery to me.
The main form is Client. The first subform is matter (clients have more than one matter). The nested subform is project. (matters have more than one project.
I have a lookup form, which allows users to apply a bunch of filters to find projects. The form shows client, matter, and project info. What I want to do is to make a double-click open the main form, but navigated to the project nested subform.
I can get the event to open the main form and nav to the proper client, but the matters and projects are a mystery to me.
Code:
Private Sub Project_Name_DblClick(Cancel As Integer)
DoCmd.OpenForm "Main", , , "[clientname] = """ & Me.Client & """"
End Sub