What tables do I need?

G

Guest

I have an organisation with many members and committees. I want to record
what members belong to which committees, in Access. Each member can belong to
several committees. What tables do I need to set up?
 
L

Larry Daugherty

Since you will have a many-to-many relationship you will need three
tables:

tblPerson: every person in your application

tblCommittee: every committee

tblPersonCommittee: one entry for every instance of
a person in a committee

HTH
 
G

Guest

Just to clarify Larry's message:

tblPerson
PersonID (PK)
Name

tbleCommittee
CommitteeID (PK)
Name

tblePersonCommittee
PersonID (FK)
CommitteeID (FK)


1) Put Committee in the main form

2) Put "PersonCommittee" in the subform BUT use the person table as the
source for the PersonID FK.
 
S

Steve

Just a note about ths suggestion ---
The tables are correct but do not use "Name" as a field name. Name is an
Access reserved word and sooner or later you will encounter a problem when
you use it as a field name.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 

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

Top