version 1.5
OP Create bind (bindID) Longint
Parameter | Type | Description | |
bindID | Longint | New bind list ID | |
Function result | Longint | Error 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 Code | Description |
-108 | Not enough memory to perform this operation. |
10128 | The 4D Open for 4th Dimension package has not been initialized. |
10154 | This command cannot be executed right now. |
See Also
OP Define bind by numbers, OP Define bind by pointer, OP Delete bind.