I have a fairly obscure requirement - what I have is a report with a header and a subsequent detail section. At the moment the header and detail sections are sorted in ascending order. What I need to be able to do is alternatively sort the the detail section in ascending then decending order. Hope that makes sense, if not maybe I can illustrate it better:
The report is the basis of a production batch list, where orders are sequenced on a customer by customer basis (the header section). The detail section represents the different products being manufactured (configured into despatch loads) and the order of manufacture. It is more efficient to manufacture products of the same type in groups, hence why I need to introduce the false grouping by way of the alternating ascending / decending sort order.
So, is this possible or am I tackling the problem in the wrong way? All help and suggestions are appreciated.
Thanks,
Bryn
Code:
HEADER1
A1
A1
A2
A2
HEADER2
A2
A2
A1
A1
HEADER3
A1
A1
A2
A2
etc.
The report is the basis of a production batch list, where orders are sequenced on a customer by customer basis (the header section). The detail section represents the different products being manufactured (configured into despatch loads) and the order of manufacture. It is more efficient to manufacture products of the same type in groups, hence why I need to introduce the false grouping by way of the alternating ascending / decending sort order.
So, is this possible or am I tackling the problem in the wrong way? All help and suggestions are appreciated.
Thanks,
Bryn