Hello All,
I need your help in ordering the data in the details section.
I am grouping the data by category, the below is sample:
Titles: Deal_No Amount Value Date Maturity Date
Group No.1:FX
Details: 123 1000 11-Dec-1998 12-Dec-1998
124 2000 15-Nov-2001 1-Jan-2002
126 3000 12-Dec-1998 18-Dec-1998
My requirement is that I want to order the deals based on that the value date of the next deal should be equal to maturity date of the previous deal (or in other words the maturity date of the first deal should equal the value date of the next deal) and the result should be:
Titles: Deal_No Amount Value Date Maturity Date
Group No.1:FX
Details: 123 1000 11-Dec-1998 12-Dec-1998
126 3000 12-Dec-1998 18-Dec-1998
124 2000 15-Nov-2001 1-Jan-2002
Is there is a way to do that?
I need your help in ordering the data in the details section.
I am grouping the data by category, the below is sample:
Titles: Deal_No Amount Value Date Maturity Date
Group No.1:FX
Details: 123 1000 11-Dec-1998 12-Dec-1998
124 2000 15-Nov-2001 1-Jan-2002
126 3000 12-Dec-1998 18-Dec-1998
My requirement is that I want to order the deals based on that the value date of the next deal should be equal to maturity date of the previous deal (or in other words the maturity date of the first deal should equal the value date of the next deal) and the result should be:
Titles: Deal_No Amount Value Date Maturity Date
Group No.1:FX
Details: 123 1000 11-Dec-1998 12-Dec-1998
126 3000 12-Dec-1998 18-Dec-1998
124 2000 15-Nov-2001 1-Jan-2002
Is there is a way to do that?