AnsweredAssumed Answered

Get Portal Row Number?

Question asked by Cécile on Nov 28, 2018
Latest reply on Nov 28, 2018 by TorstenBernhard

I am hiding the pk behind the Name. My portal has alternate colors. I am trying to get the Name field to match the colour of the row it is sitting in. When I tried to do this with a conditional format, I realized I can only get the active row number. So instead of row number, I used record number. Atm it behaves the way intended. Is there a circumstance that this would not?

 

If ( Get(RecordNumber) = Get ( ActiveRecordNumber );0; Mod (Get(RecordNumber);2)>0) [fill w primary colour]

If ( Get(RecordNumber) = Get ( ActiveRecordNumber );0; Mod (Get(RecordNumber);2)<1) [fill w alternate colour]

Get(RecordNumber) = Get ( ActiveRecordNumber ) [fill w active row colour]

 

condform.png

Outcomes