PGSQL_GetOIDValue

4D - Documentation   Français   English   German   4D For PostgreSQL, Command Theme List   4D For PostgreSQL, Command Alphabetical List   Back   Previous   Next

version 2004


PGSQL_GetOIDValue (resID; fieldIndex; rowIndex; objectValue) Longint

ParameterTypeDescription
resIDLongintResult ID returned by PGSQL_Execute
fieldIndexIntegerField index
rowIndexLongintRow index
objectValueLongintObject ID value
Function resultLongintError 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.


4D - Documentation   Français   English   German   4D For PostgreSQL, Command Theme List   4D For PostgreSQL, Command Alphabetical List   Back   Previous   Next