HI,
I working on a purchase report that will show the lowest cost, current cost and flag field if increase or decrease along with a %change
The data is in SQL 2 tables {inv_list} and {receipts} with the tables being link on 2 key fields {location} and {part_no}
I have created a report and grouped on {receipts}.{location} and {receipts}.{part_no} and I places summary fields to show max and min of cost, my problem comes in when there are multiple receipts and the lowest cost is in the middle
EXAMPLE:
Part_no Date Cost
1234 01-05-2004 1.034
1234 02-10-2004 1.034
1234 04-10-2004 2.021
1234 12-10-2004 1.068
I need to display the differance between the first cost of the year and current and the differance between highest and current, the current cost is always the last entry in the table.
I working on a purchase report that will show the lowest cost, current cost and flag field if increase or decrease along with a %change
The data is in SQL 2 tables {inv_list} and {receipts} with the tables being link on 2 key fields {location} and {part_no}
I have created a report and grouped on {receipts}.{location} and {receipts}.{part_no} and I places summary fields to show max and min of cost, my problem comes in when there are multiple receipts and the lowest cost is in the middle
EXAMPLE:
Part_no Date Cost
1234 01-05-2004 1.034
1234 02-10-2004 1.034
1234 04-10-2004 2.021
1234 12-10-2004 1.068
I need to display the differance between the first cost of the year and current and the differance between highest and current, the current cost is always the last entry in the table.