version 6.0
WR O STRUCTURE ACCESS (area; mode)
| Parameter | Type | Description | |
| area | Longint | 4D Write area | |
| mode | Integer | 0=Allow access | |
| 1=Restrict access |
Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR LOCK COMMAND command.
Description
The command WR O STRUCTURE ACCESS controls access to 4th Dimension fields.
If mode equals 0, 4D Write enables the 4D Expression... menu item in the Insert menu. If mode equals 1, 4D Write disables the 4D Expression... menu item in the Insert menu and cancels the keyboard shortcut for accessing the table-field pop-up menu. This command enables the Designer to restrict access of specific fields in the database.
To make the table-field pop-up menu available:
On Windows, click with the right mouse button.
On Mac OS, hold down the Ctrl key while pressing the mouse button.
See Also