Gets the value of the specified column. 'columnName' can be a string or an integer . Additional arguments control the behavior of the function if the value is null.
odbc_recordsetGetFieldValue ( recPtr As User, _
columnName As Any, _
Optional OnNullReturn As Any = :Error, _
Optional ignoreErrors? As Boolean = False ) As Any
| Argument | Type | Description |
|---|---|---|
| recPtr | user | Recordset pointer that was obtained through odbc_recordsetOpen() call. |
| columnName | any | Name of the column or its positional index. |
| OnNullReturn | any | Optional; if the value in the record is null, then this argument represents the default value. However, if this argument is :Error (the default value) and ignoreErrors? is True , then NoValue is returned. |
| ignoreErrors? | boolean | Optional; if the argument is True , then database errors are not reported as Intent exceptions; default is False . |