If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to design relationship between tables
Help please,
I tried to set up an Toner tracking DB, I have five tables so far 1. MakeID, Make 2. ModelID, MakeID, Model (to generate the Model based on Make) 3. PrinterID, ModelID, SerialNum, MacAddress 4. TonerID, ModelID, Toner, Price (each Model has one or more toner) 5. Invoice, PrinterID, TonerID, Date, Qty I set up an form which user can use a combo box to choose the printer serialnum then the subform (table5 - table style) will allow user to enter the inovice number, date, qty and toner type for that printer. I want the user be able to choose the toner based on the printer on the main form and hide the printer ID from the subform. Is there anyway to do this, or relation between tables have to change. Thanks! |
#2
|
|||
|
|||
How to design relationship between tables
Hello Icy,
I noticed that nobody answered. This IS a structure question, so you came to the right place. The main "answer" is a recommended table structure. Posts on structure questions need to describe the real world entities that you want to database and the real world relationships between them. Your post didn't have any of that in it. Hope that helps a little. "Icy" wrote: Help please, I tried to set up an Toner tracking DB, I have five tables so far 1. MakeID, Make 2. ModelID, MakeID, Model (to generate the Model based on Make) 3. PrinterID, ModelID, SerialNum, MacAddress 4. TonerID, ModelID, Toner, Price (each Model has one or more toner) 5. Invoice, PrinterID, TonerID, Date, Qty I set up an form which user can use a combo box to choose the printer serialnum then the subform (table5 - table style) will allow user to enter the inovice number, date, qty and toner type for that printer. I want the user be able to choose the toner based on the printer on the main form and hide the printer ID from the subform. Is there anyway to do this, or relation between tables have to change. Thanks! |
Thread Tools | |
Display Modes | |
|
|