Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4020 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

 

 

  

Posted

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

Posted

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.

Posted

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.

Posted

I have taken note of the formula.

 

For now, I pasted a portal from a Template and it works as it is.

 

Thank you.

This topic is 4020 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.