version 2004
PGSQL_GetFieldCount (resID; fieldCount) Longint
| Parameter | Type | Description | |
| resID | Longint | Result ID returned by PGSQL_Execute | |
| fieldCount | Integer | Number of fields in the result | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The PGSQL_GetFieldCount command gives the number of fields that are found in the result set returned by PGSQL_Execute. It returns an error code (Longint) where 0 means no error.
resID is a Longint that corresponds to the result ID returned by PGSQL_Execute.
fieldCount is an integer that corresponds to the number of fields in the result.