revDatabaseColumnNumbered | |||||||||||||
Type | function | ||||||||||||
Dictionary | LCS | ||||||||||||
Library | LiveCode Script | ||||||||||||
Syntax |
| ||||||||||||
Synonyms | revdb_columnbynumber | ||||||||||||
Associations | database library | ||||||||||||
Summary | Returns data from a specified database field. | ||||||||||||
Introduced | 1.1 | ||||||||||||
Changes | The ability to specify an array element as a holder variable was added in version 2.9. | ||||||||||||
OS | mac, windows, linux, ios, android | ||||||||||||
Platforms | desktop, server, mobile | ||||||||||||
Parameters |
| ||||||||||||
Example |
| ||||||||||||
Values |
| ||||||||||||
Related | Control Structure: function Library: Database library Keyword: string Constant: empty Function: revDatabaseColumnCount, revCurrentRecord, revDatabaseColumnNamed, revDatabaseColumnLengths, revDatabaseColumnIsNull Command: revMoveToLastRecord, revMoveToFirstRecord, revMoveToNextRecord Glossary: LiveCode custom library, return, variable, record set, record, Standalone Application Settings, standalone application, database field | ||||||||||||
Security | disk, network | ||||||||||||
Description | Use the revDatabaseColumnNumbered function to obtain the contents of a given database field, in the current record of the specified record set. If you specify a holderVariable, the data is placed in that variable. Otherwise, the data is returned by the function. In order to retrieve binary data, a holder variable must be specified, otherwise the revDatabaseColumnNumbered function may return truncated data. This is due to limitations in the current architecture. If the attempt to get the data is not successful, the revDatabaseColumnNumbered function returns an error message that begins with the string "revdberr".
| ||||||||||||
Tags | database |