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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table design

Status
Not open for further replies.

directorz

Technical User
Mar 4, 2003
142
0
0
US
I'm having a tough time with what seems to be rather simple, I just can't see it and need a second set of eyes. I have the following arrangement in a vehicle maintenance db:

TblVehicles
ID - pk
VehID

TblServiceInfo
WorkOrderNo - pk
ID - fk to TblVehicles/ID
DateofService
Odometer

TblPMSchedule
Unit ID - pk
PMName - PK
PMInterval - PK
WorkOrderNo - fk to TblServiceInfo/WorkOrderNo

Here's the thought process.
1.TblVehicles is populated with info about vehicles...year, make, model etc.

2. Work completed on a vehicle is then entered in TblServiceInfo...oil change, replace wipers and the date completed.

3. I have broken down PM's into PM Names and intervals. What I need to show is the date that PM's (preventive maintenance items) were completed and associate a work order number with it. Seems that I can't do this until a work order number is first established, at which time I can then look it up, but that's after the fact. Does anyone have any enlightenment?

Thank you

Directorz
 
I'm getting off subject on this thread, I should start a new one
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top