version 2004
PGSQL_GetBooleanValue (resID; rowIndex; fieldIndex; booleanValue) Longint
| Parameter | Type | Description | |
| resID | Longint | Result ID returned by PGSQL_Execute | |
| rowIndex | Longint | Row index | |
| fieldIndex | Integer | Field index | |
| booleanValue | Integer | Value returned (0 is False/1 is True) | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The PGSQL_GetBooleanValue command gives the field value of the Boolean type for a field index, at a row index. It returns an error code (Longint) where 0 means no error. fieldIndex and rowIndex are 0 based.
resID is a Longint that corresponds to the result ID returned by PGSQL_Execute.
rowIndex is a Longint that corresponds to the Row index (0 based).
fieldIndex is an Integer that corresponds to the Field index (0 based).
booleanValue is an Integer that corresponds to the value returned (0 is False/ 1 is True).