Skip to main content

Search

Search

Is it possible to change the background colour or a layer based on a data field?

Comments

2 comments

  • Avatar
    Peter Thane

    You should be able to achieve something like that using VB script I believe. I think I have a sample label that does something like this but would need to try and find it. 

    I think you would need to add a box that cover the full label and then format the fill colour of that dependent on the value pulled from your database field. 

    0
  • Avatar
    Benj Borseth

    Thank you for that Pete. In the end, I managed to figure it out with what you said above without needing to use a VB Script. I created a box and used the fill colour and then pulled the data from my database and then had to trim the first character of the hex code off to get it to work but never the less it does work :)

    0

Please sign in to leave a comment.