This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
METHOD SET ACCESS MODE
|
METHOD SET ACCESS MODE ( mode ) | ||||||||
Parameter | Type | Description | ||||||
mode | Longint |
![]() |
Access mode for locked objects | |||||
The METHOD SET ACCESS MODE command sets the behavior for 4D when you attempt to write access an object already loaded for modification by another user or process. The scope of this command is the current session.
In mode, you pass one of the following constants of the Design Object Access theme:
Constant | Type | Value | Comment |
On object locked abort | Longint | 0 | Loading of object is aborted (default functioning) |
On object locked confirm | Longint | 2 | 4D displays a dialog box so that you can choose to try again or to abort. In remote mode, this option is not supported (loading is aborted) |
On object locked retry | Longint | 1 | 4D keeps attempting to load the object until it has been released |
Product: 4D
Theme: Design Object Access
Number:
1191
Created: 4D v13
4D Language Reference ( 4D v20 R7)