Results 1 to 3 of 3
  1. #1
    elitehass is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2013
    Posts
    5

    Membership Database tables Help

    Hi I need to create a membership database for a fitness centre that is relational in access. I know how to make the forms and reports, I just need help setting up the initial tables with primary keys and foreign keys, as well as calculated fields.


    Here is the design for my tables, the fields might need changing:
    MemberTbl


    MemberID (Primary key)
    Forename
    Surname
    Title
    Date of Birth
    Address
    Town/City
    Post Code
    Telephone Number


    Membership TypesTbl


    Membership Type ID (primary key)
    Name (The name of the type of membership, e.g swimming)
    Description
    Cost per month, probably a drop down box?


    MembershipOpportuinitesTbl = what the members membership entails basically


    Opportunity ID (Primary key)
    MemberID (foreign key)
    Membership type ID (foreign key)
    Length
    Join Date
    Renewal Date (calculated field)


    I have attached my database, most the relationships are screwed up as well as other things.


    Help would be much appreciated as I barely understand this side of Access and my coursework is due this Wednesday :l
    Thank you!
    Attached Files Attached Files

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    First. Your foreign keys need to be the same data type as the primary keys that they are being linked to. In your case you need to change these to Integers.

    I would avoid using calculated fields in tables (unless this is a requirement of the class)

    Read about calculated fields in tables here. http://allenbrowne.com/casu-14.html

    do that calculation in a query or report.

    BTW: Here is a good study on RDBMS designe http://www.deeptraining.com/litwin/d...aseDesign.aspx

    good luck with your assignment.

  3. #3
    alcapps is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    292
    I think there are microsoft database templates for this already done. Try looking on the microsoft site for access templates.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 06-13-2012, 09:01 PM
  2. trying to Inner Join 3 database tables
    By gregu710 in forum Queries
    Replies: 2
    Last Post: 01-17-2012, 02:42 PM
  3. Database/tables question
    By Trojnfn in forum Access
    Replies: 1
    Last Post: 10-05-2011, 08:30 AM
  4. Please help me set up my tables for new database
    By 10 Gauge in forum Database Design
    Replies: 55
    Last Post: 03-04-2011, 11:25 AM
  5. database and tables question
    By aaronlalonde in forum Database Design
    Replies: 0
    Last Post: 08-03-2009, 06:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums