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.
Parameter | Description | ||||||
---|---|---|---|---|---|---|---|
Tablename | Name of the table from which to read data. | ||||||
Key | The key of the row containing the column information to read. | ||||||
returncolumnlist | A 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.
|
Returns
Returns the column or columns specified in returncolumnlist.
See also
Lock, Read_Row, UnLock, Write_Column, ReadV, Read
Remarks
This command reads the company name for customer "1".
run Read_Column "SAMPLE_CUSTOMERS", 1, "COMPANY_NAME"