Description

Returns the column definitions for a specified dictionary.

Syntax

List_Dict (tablename, returncolumnlist, sortlist, booleanflaglist)

Parameters

The List_Dict routine has the following parameters.

ParameterDescription
tablenameSpecifies the name of the dictionary table for which to return information.
ReturncolumnlistSpecifies a column or list of columns to return. The column COLUMN_NAME is returned by default. Available column names in the SYSDICT table are:

COLUMN_NAME (default)

COLUMN_TYPE

COLUMN_POS

COLUMN_JUST

COLUMN_DISPLAY_LEN

COLUMN_DATA_TYPE

COLUMN_FOREIGN_TYPE

COLUMN_FOREIGN_NAME

COLUMN_MASTER

Dictionary control columns (column names preceded by %) are not included. See booleanflaglist.

sortlistSpecifies a column name or list of column names to sort by. By default, no sorting takes place.
booleanflaglistIf true (1), then control columns (column names preceded by %) are returned.

See also

Create_Index

Example

run List_Dict "CAR_PARTS"
  • No labels