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  

Help with tables.



 
 
Thread Tools Display Modes
  #1  
Old February 24th, 2009, 01:54 AM posted to microsoft.public.access.tablesdbdesign
Christi Lee
external usenet poster
 
Posts: 11
Default Help with tables.

Hey you guys. I'm really stuck. I am trying to design tables for work.
The problem is that there are several vendors/suppliers that have a different
price for the same product. You figure out the the price by the number of
miles.
I am trying to figure out how to add this without having to make a table for
each vendor with the same information except for the price? There is also
cost charges and price charges for each vendor. Any ideas??
--
Christi Lee
  #2  
Old February 24th, 2009, 02:55 AM posted to microsoft.public.access.tablesdbdesign
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Help with tables.

I expect you need a junction table like:

tblVendorPrices
================
VendPriceID autonumber primary key
VendorID
ProductID
MinMiles
MaxMile
Price

--
Duane Hookom
Microsoft Access MVP


"Christi Lee" wrote:

Hey you guys. I'm really stuck. I am trying to design tables for work.
The problem is that there are several vendors/suppliers that have a different
price for the same product. You figure out the the price by the number of
miles.
I am trying to figure out how to add this without having to make a table for
each vendor with the same information except for the price? There is also
cost charges and price charges for each vendor. Any ideas??
--
Christi Lee

  #3  
Old February 25th, 2009, 06:28 PM posted to microsoft.public.access.tablesdbdesign
Christi Lee
external usenet poster
 
Posts: 11
Default Help with tables.

Thank you duane for the feedback. This looks good and helps me to understand
better what I need to do for the mileage. Thank you much !!!
--
Christi Lee


"Duane Hookom" wrote:

I expect you need a junction table like:

tblVendorPrices
================
VendPriceID autonumber primary key
VendorID
ProductID
MinMiles
MaxMile
Price

--
Duane Hookom
Microsoft Access MVP


"Christi Lee" wrote:

Hey you guys. I'm really stuck. I am trying to design tables for work.
The problem is that there are several vendors/suppliers that have a different
price for the same product. You figure out the the price by the number of
miles.
I am trying to figure out how to add this without having to make a table for
each vendor with the same information except for the price? There is also
cost charges and price charges for each vendor. Any ideas??
--
Christi Lee

 




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 10:25 AM.


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