PC Review


Reply
Thread Tools Rate Thread

How to design relationship between tables

 
 
Icy
Guest
Posts: n/a
 
      6th Jan 2010
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!
 
Reply With Quote
 
 
 
 
Fred
Guest
Posts: n/a
 
      11th Jan 2010
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!

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tables design for many-to-many relationship BethDAT Microsoft Access Getting Started 3 2nd Apr 2009 06:20 PM
Form design for a many-to-many relationship Jac Tremblay Microsoft Access Form Coding 2 12th Mar 2008 11:14 PM
Design and Relationship problem :( =?Utf-8?B?QmV0YU1pa2U=?= Microsoft Access Queries 10 18th Jun 2006 10:48 PM
relationship design =?Utf-8?B?aHA5NTAw?= Microsoft Access Database Table Design 3 20th Jul 2005 04:33 PM
Relationship design problem with multiple tables Don Microsoft Access Getting Started 3 24th Nov 2004 06:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:44 PM.