Sequence Key in a combo box (OpenInsight 32-bit Specific)
At 21 JUL 2006 10:41:55PM G Te Tamaki wrote:
OIPI7.2.1
A screen has the first field which is the key to the record. Just your average screen of which we have hundreds.
The key has the property of $SK%.
If the field is a text field then the next available key appears correctly as the default and the default value is updated when the record is written.
If the field is a combo field then the next available key does not appear.
Are there any reasons?
At 22 JUL 2006 02:06AM dbakke@srpcs.com's Don Bakke wrote:
This is the nature of the way defaults are handled for comboboxes. Default selections are supposed to be an item that is in the LIST property. You'll have to use the GOTFOCUS event to simulate the %SK% default.
dbakke@srpcs.com
At 26 JUL 2006 12:30AM G Te Tamaki wrote:
Thanks Don,
But we have two screens related to two different files.
Neither file's dictionary is very large (about 10-20 fields each).
Both had combo boxes on the key field.
Both Key fields had %SK% in the dictionary.
The default key appears in one combo box but not the other.
As if a call Forward_Event() is missing.
Both combo boxes have only one event: Dropdown