sedekk Posted November 23, 2013 Posted November 23, 2013 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.
Mr. Scott Posted November 23, 2013 Posted November 23, 2013 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
sedekk Posted November 23, 2013 Author Posted November 23, 2013 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.
comment Posted November 23, 2013 Posted November 23, 2013 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.
sedekk Posted November 23, 2013 Author Posted November 23, 2013 I have taken note of the formula. For now, I pasted a portal from a Template and it works as it is. Thank you.
Recommended Posts
This topic is 4313 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now