Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread TDBLookupListBox
Fri, Apr 28 2006 2:54 PMPermanent Link

"Lance R."
I have a table of types of addresses and a table of addresses.

I use to have a grid showing just the column with the description of the
type of address.   So I can click Billing, and then it would update and
call a query to show the Billing address for the person selected.  Click
Shipping and it would update and call query to show the shipping
address.  etc.

Everything worked fine, and when the form showed, the first type of
address would be highlighted in the grid, to know which type of address
was being displayed initially.

I decided, rather than a grid, to replace with a TDBLookupListBox.  It's
simpler and does not show scroll bars because I only have currently 3-4
types of addresses.

All the data is displayed correctly, when first opening the form,
however, the type of address is not selected in the listbox.  If I click
it, its selected and I still see the same detail info, which is fine,
and I can then click other shipping types without issue.

How can I get the TDBLookupListBox to appear selected on the form show
events?
Image