Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2017
    Posts
    6

    Racing League Database Help


    Hello all,

    I am new to the forums and am needing some help. I am somewhat familiar with Access and Excel. I currently use an Excel spreadsheet to calculate points and input race results into. I am wanting to create a database to track statistics, results, and calculate points standings. I have no idea where to start with Access and if you guys could help steer me in the right direction that would be great. If not, I understand as well.

    Thanks,

    TangoWhiskey28

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    you will have a little learning to do, but this is the perfect medium to use.
    you will need to define a few tables...like:
    tRacers table
    ----------
    RacerID (autonum)
    FirstN
    LastN
    etc...

    Tracks table
    ---------
    TrackID (autonum)
    TrackName
    addr
    etc...


    tRaces
    ---------
    RaceID (autonum)
    TrackID (long)
    RaceDate
    etc...


    tRaceHeats
    ------------
    HeatID (autonum)
    RaceID (long)
    Heat#
    RaceTime
    etc...


    tRaceRacer table
    ----------------
    HeatID (long)
    RacerID (long)
    Racer#
    FinishTime (date/time)
    IsWinner (y/n)


    tStats table
    ------------

  3. #3
    Join Date
    Dec 2017
    Posts
    6
    OK that is a starting point. Thanks for the guidance, I will see what I can come up with and go from there. Again, Thank You.

  4. #4
    Join Date
    Dec 2017
    Posts
    6
    All my tables are created, any idea what to do next? Form creation?

    Quote Originally Posted by ranman256 View Post
    you will have a little learning to do, but this is the perfect medium to use.
    you will need to define a few tables...like:
    tRacers table
    ----------
    RacerID (autonum)
    FirstN
    LastN
    etc...

    Tracks table
    ---------
    TrackID (autonum)
    TrackName
    addr
    etc...


    tRaces
    ---------
    RaceID (autonum)
    TrackID (long)
    RaceDate
    etc...


    tRaceHeats
    ------------
    HeatID (autonum)
    RaceID (long)
    Heat#
    RaceTime
    etc...


    tRaceRacer table
    ----------------
    HeatID (long)
    RacerID (long)
    Racer#
    FinishTime (date/time)
    IsWinner (y/n)


    tStats table
    ------------

  5. #5
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    probably depends on who you ask. I advocate building queries first. If they don't retrieve the required info, or allow edits/appends as needed, a form you build then base on a query is pretty much useless. I don't base forms on tables if I can help it. When multiple tables are involved in a recordset, you often have no choice but to use queries.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  6. #6
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    forms for the basic input tables
    racers
    races
    tracks.

    then you get into parent/child forms:
    races/heats/racers
    tracks/races

  7. #7
    Join Date
    Dec 2017
    Posts
    6
    Thanks Ranman and Micron, really appreciate your assistance.

  8. #8
    Join Date
    Dec 2017
    Posts
    6
    Here is what I have so far

    Click image for larger version. 

Name:	1.jpg 
Views:	14 
Size:	109.4 KB 
ID:	31738

    Click image for larger version. 

Name:	2.jpg 
Views:	14 
Size:	106.9 KB 
ID:	31739
    Click image for larger version. 

Name:	3.jpg 
Views:	13 
Size:	108.0 KB 
ID:	31740
    Click image for larger version. 

Name:	4.jpg 
Views:	14 
Size:	108.4 KB 
ID:	31741
    Click image for larger version. 

Name:	5.jpg 
Views:	13 
Size:	110.4 KB 
ID:	31742

  9. #9
    Join Date
    Dec 2017
    Posts
    6
    I also created relationships between the tables. Not sure if this is the correct way to do this. Please excuse my novice questions, its been a long time since I've messed with Access.
    Click image for larger version. 

Name:	6.jpg 
Views:	14 
Size:	83.3 KB 
ID:	31743

  10. #10
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    I would add some fields to the race table to know whether it was held or not, such as weather.

    The results table doesn't make sense, you are only keeping track of the winner, not any of the other placings? One-to-one tables make no sense at all, merge all the data into one table.

    Stats - Read up about database normalization - one of the rules is that you don't repeat information. Also stats are values that change all the time so it is pointless keeping the values on a table. Rather have a standard set of queries to display the information as needed.

    Naming conventions: basic rules - no spaces and no special characters except underscore (referring to # above). Also Access reserved words such as Date.

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

Similar Threads

  1. Racing Qualifying
    By BEI77 in forum Access
    Replies: 4
    Last Post: 06-06-2014, 03:46 PM
  2. League Tables
    By Andyjones in forum Access
    Replies: 0
    Last Post: 09-05-2013, 06:41 AM
  3. Pool League
    By Crazybrit in forum Database Design
    Replies: 3
    Last Post: 12-01-2012, 01:34 PM
  4. Database for Tournament League
    By drewdunne88 in forum Database Design
    Replies: 1
    Last Post: 08-22-2011, 05:08 PM
  5. Baseball League Database
    By GoBruins in forum Database Design
    Replies: 1
    Last Post: 08-06-2010, 10:15 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