Step 3. Add Rules to the File

REP012 - Repository Summary

In this step, add rules to the Holidays file:

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

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

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

     Remember to compile your file and check your compile settings