version 2004
PGSQL_GetFieldMod (resID; fieldIndex; fieldMod) Longint
| Parameter | Type | Description | |
| resID | Longint | Result ID returned by PGSQL_Execute | |
| fieldIndex | Integer | Field index in the result set | |
| fieldMod | Integer | Type-specific modification data | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The PGSQL_GetFieldMod command gives the type-specific modification data of the field associated with the given field index. It returns an error code (Longint) where 0 means no error. fieldIndex is 0 based.
resID is a Longint that corresponds to the result ID returned by PGSQL_Execute.
fieldIndex is an Integer that corresponds to the field index in the result set (0 based).
fieldMod is an integer that is returned which corresponds to the type-specific modification data.