version 2004
PGSQL_IsFieldDataNull (resID; rowIndex; fieldIndex; isNull) Longint
| Parameter | Type | Description | |
| resID | Longint | Result ID returned by PGSQL_Execute | |
| rowIndex | Longint | Row index | |
| fieldIndex | Integer | Field index | |
| isNull | Integer | Contains null | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The PGSQL_IsFieldDataNull command gives 1 if the field contains a NULL; 0 if it contains a non-null value. 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).
isNull is an Integer that is returned which corresponds to the null value (1 = contains null or 0 = contains a non-null value).