guides:programming:programmers_reference_manual:read_column

Read_Column routine

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

Read_Column(tablename, key, returncolumnlist, lockflag)

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.
LockflagSpecifies whether or not the row is locked during the read operation.

Lockflag - Description
0 - No locking takes place.
1 - Row is locked.

Returns the column or columns specified in returncolumnlist.

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

run Read_Column "SAMPLE_CUSTOMERS", 1, "COMPANY_NAME"
  • guides/programming/programmers_reference_manual/read_column.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1