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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I calculate this?



 
 
Thread Tools Display Modes
  #1  
Old June 19th, 2008, 09:48 PM posted to microsoft.public.access
Fredrik
external usenet poster
 
Posts: 42
Default How do I calculate this?

Hello!

I have four tables:

tblOrders
Orderno Orderdate Loadingplace Pallets

tblLoadingplaces
Loadingsplace Region

tblInboundCosts
Region Cost(per pallet) Valid from date

tblOilSurcharge
Index (1,05 etc) Valid from date

What I want to calculate in a query is the cost for each order.

I know what I want, but not how to do it.
This is my logical approach.
Pallets * (Cost/p (cost taken from the nearest date)) * (Oilindex (index
take from nearest date (orderdateValid from date)))

How do I approach this?
Quite new at Access so any help is usefull!
  #2  
Old June 20th, 2008, 02:58 AM posted to microsoft.public.access
Bonnie
external usenet poster
 
Posts: 387
Default How do I calculate this?

Hi Fredrik,

How are the tables related? You need something common in the tables to
relate them on. So if each table has an OrderNo field the same you can
relate them in a query and then run the calculation.

Bonnie
http://www.dataplus-svc.com


"Fredrik" wrote:

Hello!

I have four tables:

tblOrders
Orderno Orderdate Loadingplace Pallets

tblLoadingplaces
Loadingsplace Region

tblInboundCosts
Region Cost(per pallet) Valid from date

tblOilSurcharge
Index (1,05 etc) Valid from date

What I want to calculate in a query is the cost for each order.

I know what I want, but not how to do it.
This is my logical approach.
Pallets * (Cost/p (cost taken from the nearest date)) * (Oilindex (index
take from nearest date (orderdateValid from date)))

How do I approach this?
Quite new at Access so any help is usefull!

 




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 11:18 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.