Conditional formatting in portal records
I have a portal from one table into another and I'm trying to use conditional formatting so that if the data in the next row matches the data in the row above it, it changes color.
In essence, I only want to see the information in that field when it changes.
Portal is sorted.
The boolean argument I'm using is:
Table::Field=GetNthRecord (Table::Field; Get ( RecordNumber ) - 1 )
But it's not working. What am I missing? And can I assume that the argument would fail automatically for the first row in the portal?