Step 4 Create and Execute a Test Form

Visual LANSA

Step 4. Create and Execute a Test Form

REP011 - Repository Summary

In this step create a form to maintain the holiday file.

1.Switch to your Employee Holiday file in the editor and select the File Attributes tab. Note the Identifier for the file, for example IIIEMPHOLI. This must be used as the file name in the template.

2.  Create a form iiiMaintEmpHols Employee Holidays.

3.  Use the VL_BASEMNT template to create a maintenance application for the iiiEmpHolidays file.

4.  When running the template:

a.Choose FF layout.

b.Response to "Supply a word ….." must be a single word, with no spaces.

c.Include all the fields in the file.

5.  Compile and execute the form. Make sure you are executing it locally.

6.  Enter holiday information for employees 01, 02 and 03.

7.  Test what happens when you try to insert information for employees that do not exist in the Employee file.

8.  Try to use a holiday code other than ANL or OWN.