version 1.5
OP Clear named selection (connectionID; tableID; selectionName) Longint
Parameter | Type | Description | |
connectionID | Longint | Connection ID with target server | |
tableID | Longint | Number of the table in the database | |
selectionName | String | Name of the selection | |
Function result | Longint | Error code result for the function |
Description
OP Clear named selection clears selectionName from the server and thus frees the memory it was using. This function does not affect the current selection.
You do not need to clear a named selection that was originally cut and then used.
Error Codes
If OP Clear named selection executes successfully, it returns 0. Otherwise, this function returns one of the following errors:
Error Code | Description |
-9946* | Unable to clear the named selection because it does not exist. |
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. |
Example
See the example for OP Copy named selection.
See Also
OP Copy named selection, OP Cut named selection, OP Use named selection.