version 1.5
OP Current Record Number (connectionID; tableID; recordNumber; recordsInSelection) Longint
Parameter | Type | Description | |
connectionID | Longint | Connection ID with target server | |
tableID | Longint | Number of the table in the database | |
recordNumber | Longint | Number in selection of the current record | |
recordsInSelection | Longint | Number of records in current selection | |
Function result | Longint | Error 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:
Error | Code Description |
-9956 | 4D Open version not compatible with 4D Server. |
-32001 | A query in asynchronous mode is already in progress. |
-9972 | Table number is out of range. |
10128 | The 4D Open for 4th Dimension package has not been initialized. |
10136 | The connection does not exist. |
10154 | This command cannot be executed right now. |
See Also