Combo box updates on a form

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

I'm modifying a client's existing form. The form show a single event
with many members attending. There is a many-to-many relationship
between Events and Members and there is a relationship record between
the two tables.

Event
EventID
Event Name

tlbAttendees
EventID
MemberID
Comments

Members
MemberID
Last Name
First Name

Currently, they list the members in a combo box, but it only shows
members already selected with no way to add/delete members.


1) Is there a way to show all the members and highlight or somehow
emphasize the ones who have already been selected?

2) How do I allow updates to the members via this form?

Thanks.
Jeff
 
On Sat, 6 Jun 2009 04:44:25 -0700 (PDT), Jeff <[email protected]>
wrote:

I don't understand the part where you write "it only shows
members already selected"; this dropdown should simply show all
members from the Members table.

To add new ones, use the NotInList event: someone enters a new name
and you open a modal dialog for the user to enter that new member.
Then you return the correct value so Access automatically requeries
the dropdown and tries again.

-Tom.
Microsoft Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Change to form 3
Listbox questions 2
Combo box question on a form 3
Many to Many on a form 1
New Form 5
Listbox question 1
problems with 'cbo's and requery 2
Sub-Form - On click yes/no add record to table 3

Back
Top