version 11.2
OPEN ADMINISTRATION WINDOW
Parameter | Type | Description | ||||
This command does not require any parameters |
Description
The OPEN ADMINISTRATION WINDOW command displays the server administration window on the remote 4D client machine that executes it. The 4D Server administration window can be used to view the current parameters and to carry out various maintenance operations (see the 4D Server Reference Guide). Beginning with version 11 of 4D Server, this window can be displayed from a client machine:
This command must be called in the context of a 4D application connected to a 4D Server. It does nothing if:
it is called in a 4D application in local mode or executed as a stored procedure on the server,
it is executed by a user other than the Designer or the Administrator (in this case, the error -9991 is generated, see the Database Engine Errors section).
Example
Here is the code for an administration button:
If (Application type=4D local mode) OPEN SECURITY CENTER ` ... End if If (Application type=4D remote mode) OPEN ADMINISTRATION WINDOW ` ... End if If (Application type=4D Server) ` ... End if
See Also
System Variables or Sets
If the command has been executed correctly, the OK system variable is set to 1. Otherwise, it is set to 0.