OP Clear named selection

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 Clear named selection (connectionID; tableID; selectionName) Longint

ParameterTypeDescription
connectionIDLongintConnection ID with target server
tableIDLongintNumber of the table in the database
selectionNameStringName of the selection
Function resultLongintError 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 CodeDescription
-9946*Unable to clear the named selection because it does not exist.
10128The 4D Open for 4th Dimension package has not been initialized.
10136The connection does not exist.
10154This 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.


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