I, I figured that some more detail would be needed... So here we go :-
I have two tables one called BeforeInv and AfterInv, each contain the same layout, as follows
[ItemNumber] [Description] [PlannerCode] [OnHand] [ExtMats(Currency)] [FlrStk] [ExtMatif(Currency)
I have created a make table query combine BeforeInv and AfterInv into one record per item numbe
The new table is as follows
[ItemNumber] [Description] [PlannerCode] [B4InvOnHand] [AfterInvOnHand] [B4InvExtMats(Currency)] [AFterInvExtMats(Currency)] [B4InvFlrStk] [AfterInvFlrStk] [B4InvExtMatif(Currency)] [AfterInvExtMatif(Currency)
I want to run a query against the new table, which will display the following
[ItemNumber] [Description] [B4InvOnHand] [AfterInvOnHand] [(new) StkDiffQuanity] [(new)StkValue] [B4InvFlrStk] [AfterInvFlrStk] [(new) FlrDiffQuanity] [(new)FlrValue] [(new)TotalItemDiffQty] [(new)TotalItemDiffValue
I am having trouble with the expression builder, I can add the beforeInv and afterInv but For OnHand and FlrStk I need the absolute value difference: ex -1 and 5 should be 6 not 4. The Value should be for 6 not 4 also. The item totals should be handled the same way. I also want to Sort Descending on the ItemTotal Value.
Any and all help would be greatly appreciated
Thanks
Mar