Try OpenEdge Now
skip to main content
Application Development Environment (ADE) Addenda
ADM Addenda : New DynCombo properties
 

New DynCombo properties

Introduced:

OpenEdge R10.1A
The DynCombo class has two new properties, AltValueOnAdd and AltValueOnRebuild. These properties control the displayed value in the combo when the appropriate value cannot be determined.
The AltValueOnAdd property controls what to display if the data source's initial value for the object that is adding a record does not exist in the combo list. The AltValueOnRebuild property controls what to display if the combo list is rebuilt during editing, for example, when the parent field's value is changed.
The following table lists the allowed values for both properties.
Table 1. DynCombo property values
Value
Result
<Clear>
Clears the combo and displays nothing. This is the default value.
<First>
Displays the first value in the list.
<Last>
Displays the last value in the list.
There is no tool support for this properties. You must set them directly in the code.