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

default value in TDBLookupComboBox?

11 views
Skip to first unread message

sriram kota

unread,
Jul 11, 2008, 1:21:31 PM7/11/08
to
I want a default display value to showup in TBLookUpCombobox without the
user having to click it, i tried setting the datafield of the underlying
table with the keyfield value from the list source, it didnt work. Any
suggestions on how i can do this?

i am using delphi 2006, dbgo with firebird DB.

TIA


yannis

unread,
Jul 15, 2008, 3:04:34 AM7/15/08
to
Have you tried to navigate the listsource.dataset to the record you
want as the default value? If I remember correctly this should have the
effect you are after.

regards
Yannis.
--
"My opinions might have changed, but not the fact that I am
right."

sriram kota

unread,
Jul 15, 2008, 7:15:30 PM7/15/08
to
Actually i was doing it the rightway, i made a mistake in assigning a char
to an integer field. Its working great now. Thanks for replying though.

"yannis" <none@noware,non> wrote in message
news:487c4c02$1...@newsgroups.borland.com...

0 new messages