E
EarlCPhillips
I am developing an application for an environmental group that has forms for
people info, event info and sponsor info, each with subforms for the other
two types of data. The people form has a many-to-many subform relationship
with events and with sponsors. The Events form has a many-to-many subform
relationship with people and with sponsors. The Sponsors form has a
many-to-many subform relationship with people and with events. There are
intermediary tables for the people-events, people-sponsors and sponsor-events
relationships.
There are combo boxes on each form showing the opposing two tables. Within
these combo boxes I have coded a Click event in VBA that creates the
intermediary table relationship between the form's table and the combo table
when an item is selected within the combo box. I can create the intermediary
tables just fine, but I am having trouble displaying within the subforms on
each of the forms all of the members in the relationship for the other two
tables, e.g. "the people form does not display all members of the
relationship to events and all members of the relationship to sponsors" with
similar situations on the other two forms.
Is there a way to display all members of a double join on an intermediary
table within a subform or must I code some special additional SQL to display
it?
On the people form they want to display all events the person is involved
with and all sponsors the person supports. On the event form they want to
display all the sponsors and all the people supporting them. On the sponsor
form they want to display all the events they are involved with and who helps
them.
Can anyone help me with how to code the two subforms to pick up all members
of the other two major tables? Any help would be appreciated.
Earl Phillips
Ex-mainframer trying to learn Access
people info, event info and sponsor info, each with subforms for the other
two types of data. The people form has a many-to-many subform relationship
with events and with sponsors. The Events form has a many-to-many subform
relationship with people and with sponsors. The Sponsors form has a
many-to-many subform relationship with people and with events. There are
intermediary tables for the people-events, people-sponsors and sponsor-events
relationships.
There are combo boxes on each form showing the opposing two tables. Within
these combo boxes I have coded a Click event in VBA that creates the
intermediary table relationship between the form's table and the combo table
when an item is selected within the combo box. I can create the intermediary
tables just fine, but I am having trouble displaying within the subforms on
each of the forms all of the members in the relationship for the other two
tables, e.g. "the people form does not display all members of the
relationship to events and all members of the relationship to sponsors" with
similar situations on the other two forms.
Is there a way to display all members of a double join on an intermediary
table within a subform or must I code some special additional SQL to display
it?
On the people form they want to display all events the person is involved
with and all sponsors the person supports. On the event form they want to
display all the sponsors and all the people supporting them. On the sponsor
form they want to display all the events they are involved with and who helps
them.
Can anyone help me with how to code the two subforms to pick up all members
of the other two major tables? Any help would be appreciated.
Earl Phillips
Ex-mainframer trying to learn Access