priyanthan
Programmer
I have a report that looks like the following
Terminal Change ACTIONFLG CHGED
TMK MMK
990000 2/25/2000 1 TMK
990000 6/30/2008 11
990000 2/25/2001 1 TMK
990000 3/5/2010 11
i need to show as
Terminal Change ACTIONFLG CHGED
TMK
990000 2/25/2001 1 TMK
990000 3/5/2010 11
i.e.
i need to show the latest date.
i used the following formula, but it always shows the latest date out of the 4 dates.
If {TAB.CHGED} = 'TMK' Then
If {TAB.ACTIONFLG}= 1 Then
MAXIMUM({TAB.ACTIONTS})
working with CR 8.5 and DB2.
Can anyone please help me with it.
Terminal Change ACTIONFLG CHGED
TMK MMK
990000 2/25/2000 1 TMK
990000 6/30/2008 11
990000 2/25/2001 1 TMK
990000 3/5/2010 11
i need to show as
Terminal Change ACTIONFLG CHGED
TMK
990000 2/25/2001 1 TMK
990000 3/5/2010 11
i.e.
i need to show the latest date.
i used the following formula, but it always shows the latest date out of the 4 dates.
If {TAB.CHGED} = 'TMK' Then
If {TAB.ACTIONFLG}= 1 Then
MAXIMUM({TAB.ACTIONTS})
working with CR 8.5 and DB2.
Can anyone please help me with it.