![]() |
Next Page |
| Contents > Editing objects on layouts > Selecting and working with objects on a layout > Defining conditional formatting for layout objects |
|
|
| Defining conditional formatting for layout objects |
| To specify conditional formatting for objects: |
| 1. | In Layout mode, select one or more objects. |
|
|
For more information, see Selecting objects. |
| 2. | Choose Format menu > Conditional. |
| 3. | In the Conditional Formatting dialog box, click the Add button to define a new condition. |
| 4. | Specify the condition for formatting data in the selected objects. |
|
|
| 5. | Specify the text and field fill format for data that meets the conditions you specified. |
|
|
For example, select bold red text appears in a yellow field, when data meets your criteria. |
|
|
Tip Click More Formatting to see additional formatting options. |
| 6. | Click OK. |
| Changing conditional format settings |
Moving, disabling, enabling, and deleting conditional format settings changes the order in which conditional settings are applied to an object.
|
| Notes |
| You can set conditional formatting on the following layout objects: text, fields (including fields from external ODBC data sources), merge fields, layout symbols (date, time, page number, record number, and so on), text-based buttons, and web viewers. Conditional formatting is not available for non-textual objects (such as a rectangular layout object). |
| Conditional formatting can be set on single, multiple, and grouped layout objects. |
| To see the effects of conditional format settings while you work in Layout mode, choose View menu > Show > Sample Data. Note that your file must contain record data that meets the formatting criteria you have specified for conditional formatting to appear. |
| When you set multiple formatting conditions on an object, all conditions are evaluated starting from the top of the list. Each condition that evaluates "true" is appended to the objects previous format settings. |
| When you use the Value is option with the predefined conditions less than x days passed or less than x days ahead, the current date is included in the number of days you specify. |
|
|
Examples |
|
|
If the current day is 11/20/2009 when you specify less than 4 days passed: |
|
|
|
|
|
|
If the current day is 11/20/2009 when you specify less than 4 days ahead: |
|
|
|
|
| Number and date format settings (specified in the Number Format and Date Format dialog boxes) are applied after conditional formatting settings and are therefore preserved, even if data meets your conditional formatting criteria. However, sometimes number, date, and conditional format settings are combined. For example, if you set negative numbers to display in red in the Number Format dialog box and also set conditional formatting on the same field to display negative numbers in blue with the fill color yellow, the result will be a red number in a yellow field. System formats have no affect on conditional formatting settings. |
| Conditional formatting settings are not transferred when records are copied within FileMaker Pro files or exported to other FileMaker Pro files. |
| If you use Apple events to Get Text As Style, conditional formatting settings are not transferred. (Mac OS). |
| Related topics |
| Creating and managing layouts |
| Selecting and working with objects on a layout |
| Formatting text |
| Specifying formats for fields containing numbers |
| Specifying formats for date fields |
|
|
| Contents > Editing objects on layouts > Selecting and working with objects on a layout > Defining conditional formatting for layout objects | Next Page |