J
Jeffrey Marks
I have a many-to-many relationship on the database. For each member of
the database, they can attend many outings. As a result, there is a
tblAttendees that links the member ID in the member table to the
Outing ID of the outing table.
When the user brings up the Outing form, they can add members to
attend the outing (via a subform). The subform lists all of the
currently attending members (via a combo box - using query1) and
allows the user to add more by selecting another row in the subform
and picking a name from the combo box using query2.
There are 4 programs and 4 sets of members in this database. As a
result, there are 4 Outing forms, one per program. Historically, the
names of members are only allowed via query2 if the members are in
that forms' program (i.e. the form for program1 only shows members who
are in program1)
Recently the users have set up outings that involve 2 or more
programs, which works fine. However, when bringing up member names on
the outing forms, only the members for that program are displayed.
Blank combo boxes are displayed for members who have signed up via the
other Outing forms. If John, Sally and Jack are all program 1 and Adam
is program 2 for a particular outing. If the data is displayed on the
program 1 Outing form, John, Sally and Jack are displayed and a blank
box appears for Adam and vice versa on the outing form for program 2.
I'm sure that there's a way to allow that data to display, but I'm
just not sure what it is. Help would be appreciated. I suggested
having 1 form for all programs and was nearly lynched by the users, so
that's not a viable option at this point.
A small matter not related to display issue. When the names are re-
displayed on the subform after a refresh or coming back to the form,
the names are in alpha order, even though I can't find any indication
of sorting. I've checked the queries and the subform, but can't find
anything. Help would be appreciated.
Thanks
Jeff
the database, they can attend many outings. As a result, there is a
tblAttendees that links the member ID in the member table to the
Outing ID of the outing table.
When the user brings up the Outing form, they can add members to
attend the outing (via a subform). The subform lists all of the
currently attending members (via a combo box - using query1) and
allows the user to add more by selecting another row in the subform
and picking a name from the combo box using query2.
There are 4 programs and 4 sets of members in this database. As a
result, there are 4 Outing forms, one per program. Historically, the
names of members are only allowed via query2 if the members are in
that forms' program (i.e. the form for program1 only shows members who
are in program1)
Recently the users have set up outings that involve 2 or more
programs, which works fine. However, when bringing up member names on
the outing forms, only the members for that program are displayed.
Blank combo boxes are displayed for members who have signed up via the
other Outing forms. If John, Sally and Jack are all program 1 and Adam
is program 2 for a particular outing. If the data is displayed on the
program 1 Outing form, John, Sally and Jack are displayed and a blank
box appears for Adam and vice versa on the outing form for program 2.
I'm sure that there's a way to allow that data to display, but I'm
just not sure what it is. Help would be appreciated. I suggested
having 1 form for all programs and was nearly lynched by the users, so
that's not a viable option at this point.
A small matter not related to display issue. When the names are re-
displayed on the subform after a refresh or coming back to the form,
the names are in alpha order, even though I can't find any indication
of sorting. I've checked the queries and the subform, but can't find
anything. Help would be appreciated.
Thanks
Jeff