Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1.  Drop a List component into the second row. On the Layout ribbon:

     a.  Change Size to Fit Both so that it occupies the whole area.

     b.  On the Details tab, change its Name to EmployeeList.

2.  Create field iiiFullName in the Repository, with description Full Name, as a 40 long, NChar field. Open the field in the editor and change the Input Attributes to included include LC (allow lower case).

3.  Select the Repository tab and expand the Fields group.

     Drag into the list EmployeeList, the fields shown in the table below. Set up the column properties after you add each field. The new columns will be selected on the Details tab as you add each one.

Field

Property

Value

STD_OBJ

ColumnCaption

Identifier


ColumnCaptionType

Caption

iiiFullName

ColumnCaption

Full Name


ColumnCaptionType

Caption

STD_CODEL

ColumnCaption

Department


ColumnCaptionType

Caption

STD_DESC

ColumnCaption

Dept. Description


ColumnCaptionType

Caption

STD_DATEX

ColumnCaption

Start Date


ColumnCaptionType

Caption


ShowTime

False

...

Note

...

Note: The employee fields xEmployeeSurname and xEmployeeGivenName are defined as type nChar. As such they can hold DBCS data, supporting multilingual applications.

4.  Once all the columns have been defined, adjust the column widths as necessary. Drag the column heading, so that all columns are shown in the Design view.

5.  Create an ItemGotSelection event routine for the EmployeeList.

...