跳至主內容

搜尋

搜尋

Change table's text color based on it's value

評論

1 條評論

  • Avatar
    Peter Thane

    You could use conditional printing and 3 layers. 

    • Layer one would be your main layout and include (off the side of the label so it does not print) the data being read from the database and give this a name (via the Change Data Source Name button in the Properties of that field)
    • Layer 2 include only your black text field and set the "Print When" options to print when the value of the Named field is 0 or higher. This setting can be accessed by clicking on the properties of the layer
    • Repeat for layer 3 but with a red text field and "Print When" less than 0
    0

登入寫評論。