November 23, 201312 yr A simple question: When a create a portal and I activate the option of alternate colors, how do I get the fields on my portal to follow automatically the same background color than the row where they appear. I tried pasting formats from some templates I found, but it doesn't work.
November 23, 201312 yr I've used this calculation in conditional formatting to get this desired appearance in list view: Mod ( Get ( RecordNumber ) ; 2 ) = 0 It may work for portal rows as well? Let me know, please. - - Scott
November 23, 201312 yr Author Thanks for the help. I tried with the formula Mod ( Get ( RecordNumber ) ; 2 ) = 0 that did nothing, which is normal since I don't understand what it does and it must be adapted to the context. For transparency, I don't find that and making the whole field transparent is not a solution for me.
November 23, 201312 yr This is not as simple as it may seem. I don't know why transparent fields won't work for you, but if you really must, try defining a calculation field in the child table (the table whose records appear in the portal), cRecordNumber = Get ( RecordNumber ) The result should be a Number and the calculation must be unstored. Once you have that, you can conditionally format you portal fields using: not Mod ( ChildTable::cRecordNumber ; 2 ) as the formula. Note that this will NOT work for the last portal row in a portal that is allowed to create new records; for this, the calculation needs to be more complex.
November 23, 201312 yr Author I have taken note of the formula. For now, I pasted a portal from a Template and it works as it is. Thank you.
Create an account or sign in to comment