ADD DATA SEGMENT

4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next

version 3


ADD DATA SEGMENT

ParameterTypeDescription
This command does not require any parameters

Description

The ADD DATA SEGMENT command displays the Data Segment Management dialog box shown here:

If the user clicks the OK button to validate the dialog box, the OK variable is set to 1. If the user clicks the Cancel button, OK is set to 0.

NOTE: This command does nothing when used with 4D Server.

When all data segments are full, 4th Dimension or 4D Server generates an error -9999. An error message is displayed, stating that the disk is full.

If you are using 4th Dimension, you can use the ON ERR CALL method to trap the error message so you can handle the error procedurally. You can then use ADD DATA SEGMENT to allow the user to add a new data segment on another volume that has available space.

If you are using 4D Server, you can display an alert stating that the Database Administrator must add a new data segment from the server machine.

See Also

ON ERR CALL.

System Variables and Sets

OK is set to 1 if the Data Segment Management dialog box is validated.


4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next