A
Ann
Hello -
I am a new user trying to design a database. I need some direction on how
to link my tables together. What I am trying to accomplish is the following:
I need to link a user with their interests. I need to create a form that
shows the user information (name, address, etc...) and a subform that has a
drop-down menu with a list of interests for the user to choose. They should
be able to choose more than one interest and have those interest choices be
stored in the User and Interests table.
My first problem is that I'm not sure how to link the tables together to
make this happen. My second problem is that I'm not sure how to allow for
multiple interest choices in the subform. I will eventually need to create
a query that shows which user has which interests. For example, user#1's
interests are swimming, bowling and skiing.
Below are my tables/fields.
Can anyone provide any guidance? Please be as specific as possible as I'm
new to this!
Thanks!
My first table (Users) has the following fields:
UserID (primary key)
UserFirstName
UserLastName
User Address
My second table (Interests) has the following fields:
InterestID (primary key)
InterestName
My third table (Users and Interests) has the following fields:
UserInterestID
UserID
I am a new user trying to design a database. I need some direction on how
to link my tables together. What I am trying to accomplish is the following:
I need to link a user with their interests. I need to create a form that
shows the user information (name, address, etc...) and a subform that has a
drop-down menu with a list of interests for the user to choose. They should
be able to choose more than one interest and have those interest choices be
stored in the User and Interests table.
My first problem is that I'm not sure how to link the tables together to
make this happen. My second problem is that I'm not sure how to allow for
multiple interest choices in the subform. I will eventually need to create
a query that shows which user has which interests. For example, user#1's
interests are swimming, bowling and skiing.
Below are my tables/fields.
Can anyone provide any guidance? Please be as specific as possible as I'm
new to this!
Thanks!
My first table (Users) has the following fields:
UserID (primary key)
UserFirstName
UserLastName
User Address
My second table (Interests) has the following fields:
InterestID (primary key)
InterestName
My third table (Users and Interests) has the following fields:
UserInterestID
UserID