OP Current Record Number

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

version 1.5


OP Current Record Number (connectionID; tableID; recordNumber; recordsInSelection) Longint

ParameterTypeDescription
connectionIDLongintConnection ID with target server
tableIDLongintNumber of the table in the database
recordNumberLongintNumber in selection of the current record
recordsInSelectionLongintNumber of records in current selection
Function resultLongintError code result for the function

Description

OP Current Record Number returns in recordNumber the number of the current record. It returns in recordsInSelection the number of records in the current selection of tableID.

Error Codes

If OP Current Record Number executes successfully, it retursn 0. Otherwise, this

function returns one of the following errors:

ErrorCode Description
-99564D Open version not compatible with 4D Server.
-32001A query in asynchronous mode is already in progress.
-9972Table number is out of range.
10128The 4D Open for 4th Dimension package has not been initialized.
10136The connection does not exist.
10154This command cannot be executed right now.

See Also

OP Get record numbers.


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