version 2004
PGSQL_GetOIDValue (resID; fieldIndex; rowIndex; objectValue) Longint
| Parameter | Type | Description | |
| resID | Longint | Result ID returned by PGSQL_Execute | |
| fieldIndex | Integer | Field index | |
| rowIndex | Longint | Row index | |
| objectValue | Longint | Object ID value | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The PGSQL_GetOIDValue command gets the Large Object Id corresponding to the field index and row index passed as parameters. The OID value (basically a Longint) is returned in the value parameter and can be used in other Large Object routines. 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.
fieldIndex is an Integer that corresponds to the field index (0 based).
rowIndex is a Longint that corresponds to the row index (0 based).
objectValue is a Longint that is returned which corresponds to the Object ID value.