OP Sequence 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 Sequence number (connectionID; tableID; sequenceNumber) Longint

ParameterTypeDescription
connectionIDLongintConnection ID with target server
tableIDLongintNumber of the table in the database
sequenceNumberLongintNew sequence value for target table
Function resultLongintError code result for the function

Description

OP Sequence number returns the next available sequence number in sequenceNumber for tableID.

Error Codes

If OP Sequence number executes successfully, it returns 0. Otherwise, this function returns one of the following errors:

Error CodeDescription
-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 New record, OP Update record, Sequence number.


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