PGSQL_GetFieldName

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

version 2004


PGSQL_GetFieldName (resID; fieldIndex; fieldName) Longint

ParameterTypeDescription
resIDLongintResult ID returned by PGSQL_Execute
fieldIndexIntegerField index in the result set (0 based)
fieldNameStringField name
Function resultLongintError code (where 0 means no error)

Description

The PGSQL_GetFieldName command gives the name of the field specified by the index of this field 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.

fieldIndex is an Integer that corresponds to the field index in the result set (0 based).

fieldName is a String that is returned which contains the field name.


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