Results 1 to 4 of 4
  1. #1
    JR Taylor is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2015
    Posts
    7

    New to Access - complex form? (golf scores database)

    Hi all,

    I'm still learning sql statements/queries and Access as a whole. Although I would consider myself an advanced Excel user, I consider myself a Novice when it comes to databases.

    Here's the short story. I play golf and log things on my scorecard like, strokes, putts, hit fairway?, hit green? etc. Last year, I built a complex excel workbook for this data, and now I'd like to create a database to replace it. I've researched database design and have the following tables.


    Courses
    CourseID,coursename,country,street,city,state,zip,phone,UR L
    Tees
    CourseID,TeeID,teename,rating,slope
    Holes
    TeeID,HoleID,holenumber,par,yardage,handicap
    Scores (main table)
    RoundDate,HoleID,RoundID,Strokes,Fairwayresults,GIROpportunity,Gree nresults,Putts
    Players
    PlayerID,Playername
    So I have this built, and the tables are joined as indicated by color above.

    Now I want to create a form for data entry, and I'm stumped. I think because I'm new to databases I just don't know what I don't know.

    I have created a form layout in Excel and have attached a screenshot to this post. Hopefully it helps with your answers.



    What I'm attempting to do is tell a story. If you look at my layout, it reads: "On X Date, Player JR played Coursename (& course info) from the X Tees, and his results are as follows."

    From a user standpoint, I would select the coursename (if already in the DB) and all course info would update; or if it were new, I could input all this information. Then, based on the course selected, I would have a dropdown of Tees where I could select the tees I played or enter tee information if I've never played there before. In the Holes section, if I've played that course and tees before, ALL of the information would be populated (par, yardage, handicap for each hole); and if I've not played there, I would be able to populate this information there.

    The Scores section is the main section where I would indicate how I performed in each of the key areas (LOV stands for List of Values).

    Is my database layed out correctly for this? Is this type of form (touching multiple tables) even possible?

    edit: forgot attachment
    Attached Thumbnails Attached Thumbnails Capture.PNG  

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    It seems pretty good. It would have to be done with sub forms to do the Scores & Holes entry.

  3. #3
    crimedog is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    141
    Scores needs player ID - CourseID - and TeeID - I would probably also use Subforms for Course and Tees
    The Drop Downs are Combo Boxes - with Columns Displayed 2 - Column Widths 0",1" and Bound Column 1 etc..
    Probably a second form to create the new courses as they are needed - and anther to create the holes
    I envision a Main form (Dashboard)
    A Course Form - for creating courses
    A Tees form form for creating Tees
    A Players form for creating players
    A Round form - to track rounds - This contains SubFormCoursePlayed & SubformTeesPlayed (separate from first two forms)

  4. #4
    JR Taylor is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2015
    Posts
    7
    Thank you both for your responses.

    Does anyone think I need a 'round' table?

    Here's a screenshot of the relationships I have established between the tables...do I need to add more relationships? (for example, TableScores - CourseID tied to TableCourses - CourseID) or is this superfulous due to the series of relationships I have already established?

    Click image for larger version. 

Name:	Capture.PNG 
Views:	40 
Size:	27.6 KB 
ID:	20095

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

Similar Threads

  1. How to list sports scores in a database
    By chemmiah in forum Database Design
    Replies: 1
    Last Post: 11-21-2012, 03:53 PM
  2. Very complex database
    By adryan_g78 in forum Database Design
    Replies: 20
    Last Post: 12-16-2011, 10:30 AM
  3. Replies: 23
    Last Post: 12-06-2011, 09:18 AM
  4. Golf scorecard form
    By jrupp82 in forum Forms
    Replies: 1
    Last Post: 03-10-2011, 11:47 AM
  5. Complex query system for map database
    By brian.tunks in forum Queries
    Replies: 2
    Last Post: 07-28-2010, 07:07 AM

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