I need to sort a report 2 different ways - by part number and by earliest allocation date. Since a part can have multiple allocations, I'm using the following formula to sort part numbers by earliest allocation date -
whileprintingrecords;
minimum({@AllocStartDate}, {spMatlPriListData.item_no})
Results:
partno earliest date
5 02-04-04
2 02-05-04
12 02-12-04
9 02-15-04
and that works fine. Then I deleted the formula and changed the sort to part number. Problem is, the report detail prints in the same order as above - as if it were still sorting by earliest date - even though the earliest date field (and the formula) has been completely deleted from the report! Can someone explain this? Thanks.
KB
whileprintingrecords;
minimum({@AllocStartDate}, {spMatlPriListData.item_no})
Results:
partno earliest date
5 02-04-04
2 02-05-04
12 02-12-04
9 02-15-04
and that works fine. Then I deleted the formula and changed the sort to part number. Problem is, the report detail prints in the same order as above - as if it were still sorting by earliest date - even though the earliest date field (and the formula) has been completely deleted from the report! Can someone explain this? Thanks.
KB