Step 3. Add a Second List

FRM055A - List Component Basics Part A

In this step you will add a List View control to row two of the form and populate this list with Employee data for the selected department.

1.  Remove the fields xDepartmentCode and xDepartmentDescription from row two.

2.  Drag a List View control onto the form into row two.

3.  Select the Layout ribbon and give the List View a Size of Fit Both. The list will expand to fill row two.

4.  Drag a Status Bar into row three. This will expand to the form width and attach to the bottom of the form.

     Your form should look like the following:

5.  Locate the file xEmployee on the Repository tab and expand it. Drag and drop fields xEmployeeTitle, xEmployeeSurname, xEmployeeGivenName, xEmployeePostalCode and xEmployeeDateofBirth into the list view (ListView1). Your form should look like the following: