equestrian
Technical User
First, I have only ever done very simple databases. This is a much more complex job than I have ever done.
I am attempting to make a database that will keep track of information pertaining to a horseshow circuit. I have most of the tables I will need created, and I believe I have the relationships setup correctly.
tblHorse
HorseNumber pk
HorseName
tblPeople
PersonNumber pk
Address
tblShow
ShowNumber pk
ShowName
tblClass
ClassNumber pk
DivisionNum pk
ClassName
tblDivision
DivisionName
DivisionNum fk
tblEntry
EntryNum pk
HorseNum fk
OwnerNum fk (PersonNumber)
RiderNum fk (PersonNumber)
TrainerNum fk (PersonNumber)
tblEntryDetail
EntryNum pk
ClassEnteredNum fk (ClassNumber)
I feel good about the above tables. I have forms setup and they are working well. Now I need to setup tables that allow results to be entered.
For each show, each class can have placing up to 6th place. If there are more than 6 entries in a class there will only be placings through sixth.
I was thinking of settin up the ResultsTable as follows:
ResultsNum pk
ShowNumber fk
ClassNumber fk (from tblClass)
FirstPlace fk (from tblEntryDetail)
SecondPlace fk (from tblEntryDetail)
ThirdPlace fk (from tblEntryDetail)
FourthPlace fk (from tblEntryDetail)
FifthPlace fk (from tblEntryDetail)
SixthPlace fk (from tblEntryDetail)
Then I will need to create a query to fill in all but the placings. Then a form to enter the placings. Does this sound correct?
I am attempting to make a database that will keep track of information pertaining to a horseshow circuit. I have most of the tables I will need created, and I believe I have the relationships setup correctly.
tblHorse
HorseNumber pk
HorseName
tblPeople
PersonNumber pk
Address
tblShow
ShowNumber pk
ShowName
tblClass
ClassNumber pk
DivisionNum pk
ClassName
tblDivision
DivisionName
DivisionNum fk
tblEntry
EntryNum pk
HorseNum fk
OwnerNum fk (PersonNumber)
RiderNum fk (PersonNumber)
TrainerNum fk (PersonNumber)
tblEntryDetail
EntryNum pk
ClassEnteredNum fk (ClassNumber)
I feel good about the above tables. I have forms setup and they are working well. Now I need to setup tables that allow results to be entered.
For each show, each class can have placing up to 6th place. If there are more than 6 entries in a class there will only be placings through sixth.
I was thinking of settin up the ResultsTable as follows:
ResultsNum pk
ShowNumber fk
ClassNumber fk (from tblClass)
FirstPlace fk (from tblEntryDetail)
SecondPlace fk (from tblEntryDetail)
ThirdPlace fk (from tblEntryDetail)
FourthPlace fk (from tblEntryDetail)
FifthPlace fk (from tblEntryDetail)
SixthPlace fk (from tblEntryDetail)
Then I will need to create a query to fill in all but the placings. Then a form to enter the placings. Does this sound correct?