7.26.2 DEF_LIST Description

continued from 7.26 DEF_LIST

The actual positioning of a browse list onto the workstation display depends upon the parameters used in the REQUEST, DISPLAY or POP_UP command that is used to display the list on the screen and on any field attributes used in the DEF_LIST command. For more details, refer to Field Attributes and their Use.

When a browse list is displayed at a workstation only the first "page" is displayed. A "page" is the number of entries that will fit on the screen. By using the ROLL UP and ROLL DOWN keys the user can browse backwards and forwards through all the pages in the list. This is why it is called a "browse" list.

Generally a browse list should only be used when the list entries are to be displayed at a workstation. Working lists, which cannot be directly displayed at a workstation, have 2 major advantages over browse lists. The first is that they can be processed much faster than browse lists, and the second is that they can be used in RDML programs running in batch.

Some of the other commands that work with or reference lists include:

Command

Description

Valid For Browse List

Valid For Working List

ADD_ENTRY

Add a new entry to a list.

YES

YES

UPD_ENTRY

Update an existing entry in a list

YES

YES

GET_ENTRY

Get an entry from a list

YES

YES

SELECTLIST

Process entries from a list in a loop

YES

YES

CLR_LIST

Clear all entries from a list

YES

YES

DLT_LIST

Delete a list

YES

YES

INZ_LIST

Initialise a list with "n" entries

YES

YES

DISPLAY

Display fields and optionally a list

YES

NO

REQUEST

Request fields and optionally a list

YES

NO

POP_UP

Display fields and optionally a list in a pop up window

YES

NO

LOC_ENTRY

Locate an entry in a list

NO

YES

SORT_LIST

Sort a list

NO

YES

DLT_ENTRY

Delete entry from a list

NO

YES