Jump to content

Conditional formatting in data tags


Recommended Posts

Hi all

 

im wondering if it’s possible to use conditional formatting in data tags?

 

For example. I have a hoist data tag showing load (using braceworks). If the load is over 75% then turn the fill for that text field orange etc etc…

 

does anyone know if this is possible?

 

thanks in advance 

Link to comment

Not really, but there is a kind of work around.

 

Put two text blocks on top of each other and then use an IF statement to show one of them at a time. The dynamic text would be something like:

 

#WS_IF('Hoist'.'Load<=75, 'Hoist'.'Load', '')#

#WS_IF('Hoist'.'Load'>75, 'Hoist'.'Load', '')#

 

The last term in each set of parentheses is two single quotes with no space between them.

 

Format the text with the second formula of dynamic text as Red. It will show when the load is greater than 75%. The other will show when the load is less than 75%.

 

Note that I probably do not have the correct record and field names in the above.

  • Like 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...