View_Latch_State - dbViewFloatingPanel
Determines if the view's DDO structure will be initialized with the data
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer View_Latch_State
| Access Type | Syntax |
|---|---|
| Read Access: | Get View_Latch_State to IntegerVariable |
| Write Access: | Set View_Latch_State to IntegerVariable/Value |
Description
When View_Latch_State is set true, the view's DDO structure will be initialized with the record that happens to be in the record buffer of the main_dd, unless a record is already in the view's buffer.
When View_Latch_State is set false, the view's DDO structure will initialize with cleared data.
Default is true.
This property is useful because it causes default behavior that is often desired. For example, if a Customer entry view has a customer record in buffer and the user opens an order view that uses the Customer table, the current Customer record will default.