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

Differentiate portal rows based on past or future


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

Recommended Posts

Posted

I have a portal which shows events. I would like events scheduled for the future to be displayed in a different color, or perhaps underlined or in italics. Any suggestions?

Thank you,

Jason

Posted

You can do all of this through calculations.

The Highlight would be based upon a container calculation in related file.

Case(Date>Status(CurrentDate), GetRepetition(globalContainer,1), GetRepetition(globalContainer,2)) - could even be only one choice.

The Italics or bold or underline would be done by some "articifical" fields, calculated.

c_returnBold = Case(Date>Status(CurrentDate), FieldValue, "")

c_returnStandard = Case(Date<=Status(CurrentDate), FieldValue, "")

Place both fields one over the other, set the field to be transparent. Format the c_returnBold to be bold, the standard standard, the underlined underlined,....

Et voil

Posted

The calculations are most easily performed in the related file, as Ugo suggested. Also, you must display only related fields in a portal, unless you want to see only information from the current file.

See attachment for fix.

RelatedFormatting.zip

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