database table design problems

Reply

Join Date: Aug 2004
Posts: 2
Reputation: leeegglestone is an unknown quantity at this point 
Solved Threads: 0
leeegglestone leeegglestone is offline Offline
Newbie Poster

database table design problems

 
0
  #1
Aug 11th, 2004
If in my database tables that will be used to create drop down lists
I have a list of 1-13 titles, each one has many subsections
e.g
1. DCC (main sections
1/1 gen
1/2 miners
1/3 questionnaires

should these then be in separate tables, how best is it to display them as for the first table im wrong.

Filing Room indextbl
file id(primary key)
filing room subject

and not sure for the second table to cope with the subsections

file id
filing room sub sections??


I will have 4 table stored, all are road types
District
ARoads
BRoads
CRoads
they all have different lists of roads per category.

e.g Districts - Ch, Der, Du, Dh
A - a1, a177, a181
B - b1287, b 1289
C - c10 , c15, c184 etc

Can I do

District tbl - distrct
A road Tbl - road number
B road Tbl - road number
C road Tbl - road number

then Road tbl
Disrict
A Road
B Road
C Road
(linked together to the toher original tables, lookup)

In 3 tables, i want these to have a road numbered stored in each record, chosen via a form with drop down lists.
e.g
RC tbl
road
rc number
date

PLItbl
road
claimant
accident date

how can i design it better as i know its wrong

On my program i will have district, aroads,broads,croad buttons
When selected a forum will load and will have two drop down lists already from stored tables, so e.g when B roads is selected, its drop down list will hold all of the b road numbers stored and so want that road number selection and other fielsds posted into another database table
e.g
rctbl
road
rc number
date

Can anyone give me some pointers on how to tidy up what ive planned, I havent set up any database or tables as yet, but know what i want my program to do, in relation to what information will be submitted, where it will be stored, its just organising these tables with stored already determined data

hope u can help

thanks

Lee
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC