Auto_Server_State - dbList_
Determines if the object will use the constraints in the invoking object's server DDO or its own DDO
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer Auto_Server_State
| Access Type | Syntax |
|---|---|
| Read Access: | Get Auto_Server_State to IntegerVariable |
| Write Access: | Set Auto_Server_State to IntegerVariable/Value |
Description
If the value of the Auto_Server_State property is True, this object will use the invoking object's server DDO. If it is False, it will use its own DDO.
When Auto_Server_State is set to True, Deferred_State is set to True as well (setting Auto_Server_State to False will not set Deferred_State to False). This is the desired setting for this property for a lookup list.
If the dbList is used as a display list (i.e., not a popup-list), Deferred_State should be set to True after Auto_Server_State is set to False. This means that Deferred_State should be set to False in the "bottom" section of custom code area of the dbList in the Studio.
Default is False.
Related Topics
When using the newer Codejock-based lookup list class (cDbCJGridPromptList), use pbAutoServer.
In Web Applications, use pbAutoServer in the cWebPromptList class.