F
flatline
Guest
Hi Folks-
I have a design-type question for you all.
I've been working on a database to track racing events.
There are several Heat races with first, second, third place etc. finishers in each.
Each finishing place has a point value associated with it.
The point values are different depending on the Heat race.
I have a table; tblRaceResults, where I will enter the results manually.
What I would like to be able to do is have two fields where I enter the Heat and Place and have the proper Points values found automatically.
What I can't determine is the best way to set up my tables for the Heat, Place and Points.
Initially, I started out with a single table;
tblPoints:
idsPointsID
chrHeat
lngzPlace
lngzPoints
This table contained every possible Heat/Place combination and its associated Point value.
I set a lookup to this table so that i could select the proper Heat/Place combination from a pulldown in tblRaceResults.
This pretty much worked but it seemed a very clumsy way to do this and I had to scroll through a large list to find the right combination.
So, I tried creating two different tables;
tblHeats:
idsHeatID
chrHeat
and
tblPlace:
idsPlaceID
lngzPlace
tblHeats had the list of possible heat values; 1A, 1B, 1C, 2A, 2B, 2C, BRONZE, SILVER, GOLD
and tbl Place had the list of possible places; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
I was hoping to be able to enter the Heat and Place in tblRaceResults [using a lookup to tblHeats and tblPlace] and use those values to look up the proper Point value. But, I can't seem to get my feeble head around how to do this.
I'm sure this is a fairly simple thing and I'm just missing it conceptually.
I'm fairly new to all this.
Thanks very much,
flatline_____
I have a design-type question for you all.
I've been working on a database to track racing events.
There are several Heat races with first, second, third place etc. finishers in each.
Each finishing place has a point value associated with it.
The point values are different depending on the Heat race.
I have a table; tblRaceResults, where I will enter the results manually.
What I would like to be able to do is have two fields where I enter the Heat and Place and have the proper Points values found automatically.
What I can't determine is the best way to set up my tables for the Heat, Place and Points.
Initially, I started out with a single table;
tblPoints:
idsPointsID
chrHeat
lngzPlace
lngzPoints
This table contained every possible Heat/Place combination and its associated Point value.
I set a lookup to this table so that i could select the proper Heat/Place combination from a pulldown in tblRaceResults.
This pretty much worked but it seemed a very clumsy way to do this and I had to scroll through a large list to find the right combination.
So, I tried creating two different tables;
tblHeats:
idsHeatID
chrHeat
and
tblPlace:
idsPlaceID
lngzPlace
tblHeats had the list of possible heat values; 1A, 1B, 1C, 2A, 2B, 2C, BRONZE, SILVER, GOLD
and tbl Place had the list of possible places; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
I was hoping to be able to enter the Heat and Place in tblRaceResults [using a lookup to tblHeats and tblPlace] and use those values to look up the proper Point value. But, I can't seem to get my feeble head around how to do this.
I'm sure this is a fairly simple thing and I'm just missing it conceptually.
I'm fairly new to all this.
Thanks very much,
flatline_____