Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TOvcTCComboBox lookups with TOvcDBTable

8 views
Skip to first unread message

Dave Antila

unread,
Jan 3, 2003, 9:55:42 AM1/3/03
to
I'm trying to make use of a few ComboBox cells to look up data in my
TOvcDBTable. My problem is that I need the ComboBoxes to work like the
Delphi DBLookUp ComboBoxes, making use of a key to build its list of values.
The Orpheus ComboBox cell seems to insist on building its item list on
an index (0-n) rather than based on my list of keys (i.e. 2,3,5) and I'm
having troubles reconciling the selection from the array to my key field
(i.e. the user selects 'Auto' from the dropdown which has an index of 0 in
the list, but my dataset needs to capture the the description's key which is
2).

Is there any behavior in the TOvcTCComboBox which allows it to build its
items list using a list of keys rather than than a 0-n index?

0 new messages