pbFindOnSelect - cWebSuggestionForm
When peSuggestionMode is smFind, this determines if a selection updates the record or just updates the value
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbFindOnSelect
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbFindOnSelect to BooleanVariable |
| Write Access: | Set pbFindOnSelect to BooleanVariable/Value |
Description
pbFindOnSelect determines how a selection is processed when peSuggestionMode is smFind.
When True, the default, this is treated as a DataDictionary (DD) record update. The selected record is found, the DD is notified of the change and all data entry objects (DEOs) are updated. This behavior is similar to typing in a search value and pressing Find. Normally, this is what you want and is what is used for relational lookups.
When pbFindOnSelect is False, only the changed suggestion value is moved back to the invoking form. This would be similar to typing in some text and not pressing a Find key. This would be rarely used with suggestion lists.
This property only has an effect when peSuggestionMode is smFind.