A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Relationships



 
 
Thread Tools Display Modes
  #1  
Old March 14th, 2010, 09:44 PM posted to microsoft.public.access.tablesdbdesign
Boating 89
external usenet poster
 
Posts: 1
Default Relationships

New to Access and using version 2007. I am building a database covering the
membership of a boating club. Looking at tables that would include:

* Primary Members Data - all members in the Club - type of membership, year
joined/left and similar. One record per member (so spouses/partnerships have
two line items)
* Members Contact Data - address and similar - again one line item per
member
* Members Boats Names and specifics
* Members history with the Club - membership class per year for past 25 years

And so on.

My question is the confusion of setting up the relationships and these
primary and foreign (or child they call it evidently) ID numbers.

Every member has an assigned "Member Number" - should that be the primary
key. Is the Member Number what you link between these relationship tables?

As whomever reads this can likely tell I am very confused on how to assign
relationships. And then these "Lookups" come into play.

Any help that anyone can provide would be much appreciated. I have
attempted to find this info anywhere without success.

Thank you.









--
Thank you for all your help.
Joysea
  #2  
Old March 15th, 2010, 01:59 AM posted to microsoft.public.access.tablesdbdesign
Gina Whipp
external usenet poster
 
Posts: 3,500
Default Relationships

Boating 89,

This should help...

* Primary Members Data - all members in the Club - type of membership, year
joined/left and similar. One record per member (so spouses/partnerships
have
two line items)
tblMembers
mMemberID - PK
mFirstName
mLastName
etc...

tblMemberContactInformation
mciMemberID - FK - link to tblMembers
mciAddress1
mciAddress2
mciCityName
mciState
mciPostalCode
etc...

tblMemberVehicles
mvMemberID = FK - link to tblMembers
mvBoatID
mvBoatName
etc...

Not sure what the below is, so not sure of table name or if it even needs a
separate table.
* Members history with the Club - membership class per year for past 25
years

Since it sounds like you are new to this, here's some suggested readings...

Jeff Conrad's resources page...
http://www.accessmvp.com/JConrad/acc...resources.html

The Access Web resources page...
http://www.mvps.org/access/resources/index.html

A free tutorial written by Crystal (MS Access MVP)...
http://allenbrowne.com/casu-22.html

MVP Allen Browne's tutorials...
http://allenbrowne.com/links.html#Tutorials

Sample data models...
http://www.databasedev.co.uk/table-of-contents.html

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Boating 89" wrote in message
...
New to Access and using version 2007. I am building a database covering the
membership of a boating club. Looking at tables that would include:

* Primary Members Data - all members in the Club - type of membership, year
joined/left and similar. One record per member (so spouses/partnerships
have
two line items)
* Members Contact Data - address and similar - again one line item per
member
* Members Boats Names and specifics
* Members history with the Club - membership class per year for past 25
years

And so on.

My question is the confusion of setting up the relationships and these
primary and foreign (or child they call it evidently) ID numbers.

Every member has an assigned "Member Number" - should that be the primary
key. Is the Member Number what you link between these relationship tables?

As whomever reads this can likely tell I am very confused on how to assign
relationships. And then these "Lookups" come into play.

Any help that anyone can provide would be much appreciated. I have
attempted to find this info anywhere without success.

Thank you.









--
Thank you for all your help.
Joysea

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.