View Single Post
  #1  
Old November 9th, 2009, 06:33 AM posted to microsoft.public.access.tablesdbdesign
ivory_kitten
external usenet poster
 
Posts: 23
Default how to best structure this?

i am upgrading a cost calculator from excel to access so need some advice on
the best way to structure this please!?

i'm starting with one spreadsheet called Linehaul Costs, which details the
breakdown of the costs and the total calculated cost to get to each
destination.

i will describe how my excel table is set up first: at the top of the table
i have a user entered field for "handling at uplift" and "average container
weight"

then i have a list of linehaul suppliers with 2 columns, "fuel surcharge"
and "base container weight"

then i have a table with destinations which has 4 columns
Column 1 is "base cost" (some are user entered and some are calculations as
some destinations is the same cost as 1 route plus a second leg to get to the
final destination
Column 2 is "additional weight" the amount charged per extra tonne.
Column 3 is the subtotal of the base cost + (the additional weight * the
difference between the between the average container weight and the suppliers
base weight)
Column 4 is the total cost which is calculated as the subtotal + suppliers
fuel surcharge + handling at uplift

So far in Access I have created a table listing my Destinations and another
table listing my Linehaul suppliers, I'm unsure of the best way to merge the
rest of the data in to access, some destinations have more than one supplier
and in the final cost calculation the user has to choose which suppliers they
are using in their quote.

i hope this makes sense and someone can point me in the right direction!