Re: DBLookupComboBox show selected


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]

Posted by WAllison on January 23, 2003 at 21:30:40:

In Reply to: DBLookupComboBox show selected posted by Sal on January 14, 2003 at 16:25:16:

: I have a dblookupcombobox that lists all reasons for a particular action. There are two identical (except for names) datasources and queries for this control. It works fine in setting the value of the field in the table.
: The problem is that when the record is re-displayed, I want the existing reason for that record to be the one displayed by default in the dblookupcombobox, and this I can't get. Is there a way to get this to occur?
: Thanks.

I can probably sort this m8 - can u send me more details: DataSources/Tables/TableDefs/TDBLookupComboBox properties.
I betting on the fact that the DBLookupComboBox uses a field from another table to lookup the reason - and the index/display/sources are a bit iffy - i do it quite often myself.

Waz


Related Articles and Replies:


[ DelphiLand Discussion Forum ]