A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to design relationship between tables



 
 
Thread Tools Display Modes
  #1  
Old January 6th, 2010, 06:58 PM posted to microsoft.public.access.tablesdbdesign
ICY
external usenet poster
 
Posts: 8
Default 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  
Old January 11th, 2010, 03:31 PM posted to microsoft.public.access.tablesdbdesign
Fred
external usenet poster
 
Posts: 1,451
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.