I thought the answer might be no, I couldn't find anything about the subject. The kind of data I'm looking at is like this.
Order Line Date
=== === =======
123 10 13/05/05 (dd/mm/yy)
123 20 15/05/05
123 30 Null
123 40 Null
345 10 23/05/05
345 20 26/05/05
345 30 27/05/05
345 40 Null
I want the report to find the first "Line" on an "Order" with a Null but to also carry the previous "Line" date on the "Order" for comparison.
The report output of the table above should be :-
Order Line Date
=== === =======
123 30 15/05/05 (dd/mm/yy)
345 40 27/05/05
The report already does this without a problem using a surpression formula and the function "Previous(Date)"
The issue I have is the report output needs to be sorted by descending date. As soon as I sort by date I can't use the Surpression and Previous record function because the Orders and Lines are out of sequence.
I was thinking if I could pull the data using a smarter SQL the importance of holding the Order and Line sequence wouldn't be so relevant.
I almost want to pass the data through the report twice but I dont know how to.
I hope I have explained myself clearly.
Thanks,
TopJack.