Hello,
I searched up and down these forums for about 1 hour or so to find a topic related to my problem, but couldn't find anything... I hope this post is not redudant
Anyway, the problem is this one:
I have two tables: tblProjects and tblOrgs which are in a many-to-many relationship with each other through a third table that links them. In a form, frm_projects , i have added a subform where i can create the many to many linkages through combo boxes.
in the subform i have only 1 field from tblOrgs, namely OrgName. What I wanna do, is ondblClick on this name in the subform, I want to open the frm_orgs which would have all the fields in tblOrgs related to the specific record that is clicked.
I managed to use a macro with an openform and a where condition which works if the subform is opened on its own, but does not work when its within the frm_projects. In the latter case, it brings up a window asking for input regarding "Forms!frm_sub_orgs!OrgName" (frm_sub_orgs is the subform)
this is the WHERE condition in the macro:
[OrgID]=[Forms]![frm_sub_orgs]![OrgName]
I hope I have been specific enough...
Thanks anyone
Penar
I searched up and down these forums for about 1 hour or so to find a topic related to my problem, but couldn't find anything... I hope this post is not redudant
Anyway, the problem is this one:
I have two tables: tblProjects and tblOrgs which are in a many-to-many relationship with each other through a third table that links them. In a form, frm_projects , i have added a subform where i can create the many to many linkages through combo boxes.
in the subform i have only 1 field from tblOrgs, namely OrgName. What I wanna do, is ondblClick on this name in the subform, I want to open the frm_orgs which would have all the fields in tblOrgs related to the specific record that is clicked.
I managed to use a macro with an openform and a where condition which works if the subform is opened on its own, but does not work when its within the frm_projects. In the latter case, it brings up a window asking for input regarding "Forms!frm_sub_orgs!OrgName" (frm_sub_orgs is the subform)
this is the WHERE condition in the macro:
[OrgID]=[Forms]![frm_sub_orgs]![OrgName]
I hope I have been specific enough...
Thanks anyone
Penar