OP Create bind

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 Create bind (bindID) Longint

ParameterTypeDescription
bindIDLongintNew bind list ID
Function resultLongintError code result for the function

Description

OP Create bind creates an empty bind list in memory and returns its bind reference number in bindID.

You add binds to an existing bind list by using OP Define bind by numbers or OP Define bind by pointer.

During data manipulation, pass the reference number of the bind list to indicate which server objects are associated with which local objects.

When you have finished using the bind list, call OP Delete bind to release the memory used by the bind list.

See the examples for OP Define bind by numbers and OP Define bind by pointer.

Error Codes

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

Error CodeDescription
-108Not enough memory to perform this operation.
10128The 4D Open for 4th Dimension package has not been initialized.
10154This command cannot be executed right now.

See Also

OP Define bind by numbers, OP Define bind by pointer, OP Delete bind.


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