PGSQL_GetTimeValue

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

version 2004


PGSQL_GetTimeValue (resID; rowIndex; fieldIndex; hourValue; minValue; secValue) Longint

ParameterTypeDescription
resIDLongintResult ID returned by PGSQL_Execute
rowIndexLongintRow index
fieldIndexIntegerField index
hourValueIntegerHour part of the time
minValueIntegerMinutes part of the time
secValueIntegerSeconds part of the time
Function resultLongintError code (where 0 means no error)

Description

The PGSQL_GetTimeValue command gives the field value (hour, minutes, seconds) for a field index, at a row index. It returns an error code (Longint) where 0 means no error. fieldIndex and rowIndex are 0 based.

resID is a Longint that corresponds to the result ID returned by PGSQL_Execute.

rowIndex is a Longint that corresponds to the row index (0 based).

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

hourValue is an Integer that corresponds to the hour part of the time.

minValue is an Integer that corresponds to the minutes part of the time.

secValue is an Integer that corresponds to the seconds part of the time.


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