Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table design help/options

Status
Not open for further replies.

Glohamar

Programmer
Sep 3, 2003
248
US
I am trying to design a DB for the Boy Scouts to keep track of Camping Events and which Units showed up and how many were involved and amount if money collected.

My thoughts are to have a table for the Event, UnitInfo, sbuUnitInfo, Camp, Doctor, and Payment. I want to be able to pull the UnitInfo in if the Unit already exsist from a previous Event. The only information that keeps the Units different is the Unit Number and their City. You can have the same Unit Number but in a different city.

I have a one-to-many from the Event to UnitInfo at the EventNumber field. From the UnitInfo I take the EventNumber, UnitNumber, and UnitCity to do a one-to-many to the other tables like SubUnitInfo (because the number of scouts can change from event to event), Camp (for camp location per a map) Payment (for dollar amount spent by the unit).

Like I said, I do not want to have to re-enter the UnitInfo if they are already in the database from a previous event. I just need to be able to tie the Boy scout Unit to an Event, camp at that Event, Payment at that Event, how many scouts at that event

Below is piece of what I have started.

If I have totally confused everyone, let me konw and I will try again.

Thanks for the help.

Event UnitInfo SubUnitInfo
Enum Enum Enum
Etitle UnitNum UnitNum
Eyear UnitCity UnitCity
UnitType NumWeblos
UnitCouncil NumScouts
UnitDistrict NumLeads
UnitState Patches

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top