The data validation tool helps you quickly verify database integrity, since manually locating errors in a large database can be very time-consuming. You can validate data across a:
| • | range or group of fields |
XPAC records the result of each rule that you create as or .
To create a data validation rule:

|
If you accessed the data validation tool from a tab other than a database tab (for example, ), the window displays, letting you select the database that you want to create a validation rule for. Otherwise, XPAC assumes that you want to create a validation rule for the database that you are currently viewing.
|
| 2. | If required, select the database that you want to create a validation rule for: |
| a. | In the window, select a database. |
| 3. | In the window, click . XPAC creates a new rule. |
| 4. | Type a name for the validation rule. |
| 6. | Specify the directory for the error report: |
| a. | In the field, click . A Windows Explorer window displays. |
| b. | Navigate to the folder in which you want XPAC to save the error report. |
| c. | Click . XPAC redisplays the window. |
| 7. | Select the rule that you previously created and click . The window displays. |
| 8. | Click . The window displays. |
| 9. | Select fields to add and remove as required from the and lists. |

|
If required, deselect the check box to only display field names.
|
| 10. | Click . The window redisplays. |
| 11. | Specify values in the and columns. Either: |
| a. | Manually specify the values for each field: |
| b. | Automatically calculate the values for a field: |
| i. | Right-click the field in the data sheet that you want to calculate values for. |
| c. | Automatically calculate values for all fields in the data sheet by clicking . |
| 12. | Select a database range in the drop-down list. |
| 13. | Type a name in the field to create a new range containing values that fail validation. |
To run a data validation rule:

|
If you accessed the data validation tool from a tab other than a database tab (for example, ), the window displays, letting you select the database that you want to run a validation rule for. Otherwise, XPAC assumes that you want to run a validation rule for the database that you are currently viewing.
|
| 2. | If required, select the database that you want to run a validation rule for: |
| 3. | In the window, select a database. |
| 5. | In the window, select the rule that you want to run. |
XPAC reports a or result for the validation rule. If validation fails, XPAC generates an error report and (if you specified a ), a new range containing the values that failed validation. If required, you can also view failed results in the window by selecting the check box.