J
jhunter
=====
ISSUE
=====
What's the best way to create a profit report, in a one-to-MANY
relationship, where fields in both tables have numbers to be
calculated?
============================
REPORT SHOULD LOOK LIKE THIS
============================
Date Client Inv# Profit
1/1/2005 AT&T 12345 $100
1/2/2005 AT&T 12346 $50
1/3/2005 eBay 12345 $75
====
Total $225
======
TABLES
======
Sales
SalesDetails
====================================================
FIELDS TO BE CALCULATED (and which table they're in)
====================================================
Cost (SalesDetails)
List (SalesDetails)
Freight (Sales)
FreightCost (Sales)
=====
NOTES
=====
In English, I need to take all the line items of a sale (from the
SalesDetails table), calculate the profit of each, then add freight
(which is in the Sales table) then subtract freight cost (which is also
in the Sales table).
Everything else about this database/program is setup and has worked
great for 3-4 years.
==========
BACKGROUND
==========
O/S = W2kPro
Patches Installed
Software = Access 2000
Patches Installed
=========
Thanks!!!
THE END
=========
ISSUE
=====
What's the best way to create a profit report, in a one-to-MANY
relationship, where fields in both tables have numbers to be
calculated?
============================
REPORT SHOULD LOOK LIKE THIS
============================
Date Client Inv# Profit
1/1/2005 AT&T 12345 $100
1/2/2005 AT&T 12346 $50
1/3/2005 eBay 12345 $75
====
Total $225
======
TABLES
======
Sales
SalesDetails
====================================================
FIELDS TO BE CALCULATED (and which table they're in)
====================================================
Cost (SalesDetails)
List (SalesDetails)
Freight (Sales)
FreightCost (Sales)
=====
NOTES
=====
In English, I need to take all the line items of a sale (from the
SalesDetails table), calculate the profit of each, then add freight
(which is in the Sales table) then subtract freight cost (which is also
in the Sales table).
Everything else about this database/program is setup and has worked
great for 3-4 years.
==========
BACKGROUND
==========
O/S = W2kPro
Patches Installed
Software = Access 2000
Patches Installed
=========
Thanks!!!
THE END
=========