[ Team LiB ] Previous Section Next Section

Applying Conditional Formatting

You can make your reports and forms more powerful by setting up conditional formatting. Conditional formatting allows you to format a field based on values the user enters. For example, you can use a conditional format to make negative values appear in red and positive values appear in black.

Apply Conditional Formatting to a Field

graphics/1_icon.jpg

Display the form or report in Design view, and then click the field to which you want to apply conditional formatting.

graphics/2_icon.jpg

Click the Format menu, and then click Conditional Formatting.

graphics/3_icon.jpg

Specify the default format for the field.

graphics/4_icon.jpg

Click the Condition 1 list arrow, and then select Field Value Is.

graphics/5_icon.jpg

Click the second list arrow, and then select a condition type.

graphics/6_icon.jpg

Enter values for the condition.

graphics/7_icon.jpg

Specify the format when this condition is true.

graphics/8_icon.jpg

Click Add to add a second formatting condition.

graphics/9_icon.jpg

Click OK to apply the conditional formatting.

graphics/09inf11.jpg

Did You Know?

You can use expressions in a conditional format. For more complicated conditional formats, select the input field, click the Format menu, and then click Conditional Formatting. Click the Condition 1 list arrow, select Expression Is, type the conditional formatting expression in the box to the right, and then click OK.


    [ Team LiB ] Previous Section Next Section