DesignConfigure Table Rules

You can use table rules to change the styling of rows in the table based upon the data in the row, and you can use column rules to change the styling of cells in a specific column based upon the data in the column. For example, if you want the rows that contain a specific date to stand out, you can add a table rule to change the background color of the rows containing that date to yellow. If you add a rule to both the table and a column that overlaps, the column rule overrides the table rule for that cell.

Example

You add a table rule to change the background color of rows that contain January 1 in the Date column to yellow.

Table Rule

Column Name Operator Value Set Style Style Value
Date Equals January 1 Background Color yellow

You also add a rule on the Date column to change the background color of cells in the column that contain January 1 to green.

Column Rule

Column Name Operator Value Set Style Style Value
Date Equals January 1 Background Color green

Result

When the table is displayed in Applications , the cells containing January 1 in the Date column are green because a column rule overrides a table rule, and the other cells in the row are yellow from the table rule.

Date Item Quantity
January 1 12345 100
January 2 12346 100

Add a Table Rule

  1. In Label Design Label Design, click the table you want to add a rule to.
  2. In the View tab, click Table Rules.
  3. In the Table Rules dialog box, click add to add a rule.
  4. For the Type, select Row Rule or Column Rule.
  5. For Column Name, double-click the cell and select a column from the drop-down list.
  6. For Operator, double-click the cell and select an operator from the drop-down list.
  7. For Value, enter the value for which the rule applies.
  8. For Set Style, double-click the cell and select a property from the drop-down list.
  9. For Style Value, enter the style. For information on accepted values, see Columns and Table Rules.
  10. To add an additional rule, click add and configure the fields for the rule.