anthall5 Posted March 21, 2023 Share Posted March 21, 2023 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 Quote Link to comment
Pat Stanford Posted March 21, 2023 Share Posted March 21, 2023 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. 2 Quote Link to comment
anthall5 Posted March 21, 2023 Author Share Posted March 21, 2023 Hi Pat thanks for this. I’ll give it a go in the morning when I’m back at the laptop many thanks Quote Link to comment
Recommended Posts
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.