943,737 Members | Top Members by Rank

Ad:
Aug 11th, 2004
0

database table design problems

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
leeegglestone is offline Offline
2 posts
since Aug 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Database Design Forum Timeline: dynamic content from database, How?
Next Thread in Database Design Forum Timeline: "Not" operator not functioning in t-sql





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC