Description

Returns one or more columns from a row in a table.

Syntax

Read_Column (tablename, key, returncolumnlist, lockflag)

Parameters

The Read_Column routine has the following parameter.

ParameterDescription
TablenameName of the table from which to read data.
KeyThe key of the row containing the column information to read.
returncolumnlistA column or list of columns to read from DICT.tablename. These columns are returned for the row specified in key. If returncolumnlist is null, all columns are returned.
Lockflag

Specifies whether or not the row is locked during the read operation.

LockflagDescription
0No locking takes place.
1Row is locked.

Returns

Returns the column or columns specified in returncolumnlist.

See also

LockRead_RowUnLockWrite_ColumnReadVRead

Remarks

This command reads the company name for customer "1".

run Read_Column "SAMPLE_CUSTOMERS", 1, "COMPANY_NAME"
  • No labels