Jump to content
Server Maintenance This Week. ×

Highlighting or backlighting records based on a calculation


GC GYM

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

Recommended Posts

I'm trying to mark or highlight certain records in list view based on a condition in another field? I can't change the text colour because I use the text colour already for something else. I want to make a background behind the text.

I started with a global container repeating x2

Then I drew a box the size I wanted to use as the 'highlighting/backdrop" for want of a better description. I pasted the box into one repetition and left the other blank.

I added the calc field:

If(

Term=1;

GetRepetition ( Background colours ; 1 );

GetRepetition ( Background colours ; 2 )

)

I put this field onto the list layout under but bigger than the other fields

The calc field gets the box from the container field ok, but the box doesn't fill the calc field completely, so it's either too narrow or too short no mater what I do to the original box, the container field or the calc field.

What am I doing wrong?

Link to comment
Share on other sites

This topic is 6364 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.