ansentry
Access amateur
- Local time
- Tomorrow, 08:48
- Joined
- Jun 1, 2003
- Messages
- 995
I have following and would like someone to check to see if the setup is OK. If I have not explained clearly, let me know and i will post a sample db.
tbl_deliverydates
deliverydateID (PK)
DeliveryDate
One DeliveryDate can have many Vehicles
tbl_vehicles
vehicleID (PK)
deliverydateID (FK)
other fields......
One vehicle can have many PrepItems ( This table is for the "Many" items that are added to each new vehicle before delivery)
tbl_prepitems
prepitemsID (PK)
vehicleID (FK)
other fields....
or should it be
The same as the "northwind"
tbl_deliverydate = Orders
tbl_vehicles = Order Details
tbl_prepitems = Products
I don't understand why in Northwind the Orders PK has the same name as the Order Details PK and
why the table Order Details has 2 PK's. If someone could look at my table setup and explain about Northwind I would be grateful
Regards,
tbl_deliverydates
deliverydateID (PK)
DeliveryDate
One DeliveryDate can have many Vehicles
tbl_vehicles
vehicleID (PK)
deliverydateID (FK)
other fields......
One vehicle can have many PrepItems ( This table is for the "Many" items that are added to each new vehicle before delivery)
tbl_prepitems
prepitemsID (PK)
vehicleID (FK)
other fields....
or should it be
The same as the "northwind"
tbl_deliverydate = Orders
tbl_vehicles = Order Details
tbl_prepitems = Products
I don't understand why in Northwind the Orders PK has the same name as the Order Details PK and
why the table Order Details has 2 PK's. If someone could look at my table setup and explain about Northwind I would be grateful
Regards,