Step 2 Add Fields to the Form

Visual LANSA

Step 2. Add Fields to the Form

FRM025 - Insert a Database Record

1.  Select the Repository tab. Expand the Files group. If necessary change the Files group to Alphabetic Grouping by using the right mouse menu on the Files group.

2.  Expand the P group and expand the file PSLMST. Your Repository tab should look like the following:

3.  Enlarge the form by dragging its lower edge.

4.  On the Repository tab, hold down the Shift key and use the left mouse button to select EMPNO and then PHONEBUS. All fields between these will be selected. This is a standard Windows select a group of objects technique.

5.  Drag these fields onto the form, towards the top.

 

6.  Select the group of fields from DEPTMENT to STARTDTE and drag these onto the form just below the others.

     Note: STARTDTE is a virtual field which updates the real field STARTDTER.

7.  Click on the form to unselect the last group of fields. With the Shift key held down, select EMPNO and then select each of the other fields. Then use the Align dialog from the Design tab, to align the fields on the left, spaced equally.

     Your form should look like the following:

8.  Save your form.