Step 3. Add Rules to the Table

In this step, add rules to the Holidays table:

1.  To ensure that the employee number in the Holidays table exists in the Employee table.

2.  To ensure the holiday code must be either 'ANL' (Annual Leave) or 'OWN' (Leave without Pay).

     Create your validation rules using the Simple Rules List in the Rules and Triggers tab.

     Remember to compile your table and check your compile settings