User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 373,929 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,254 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser:
Views: 5308 | Replies: 0
Reply
Join Date: Aug 2004
Posts: 2
Reputation: leeegglestone is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
leeegglestone leeegglestone is offline Offline
Newbie Poster

database table design problems

  #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
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Database Design Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Database Design Forum

All times are GMT -4. The time now is 5:52 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC