Combobox- How to dsiplay more than first field

FreddieLeaf

Registered User.
Local time
Today, 02:10
Joined
Apr 21, 2006
Messages
17
I'm using a combobox to select an item from a dropdown list. Once the item is selected and dropdown list closes, only one the first field shows up in the combobox window.

How can I make more than one field showup?

Thanks.
 
A combobox only displays one field.

Additional fields may show in textboxes.

On the combobox AfterUpdate event execute the following code

me!textbox1 = me!combobox1.column(i)

where "i" is the combobox column number you want to display. Columns are numbered 0 thru n, i.e. 0, 1, 2, 3, . . .
 
This is perfect. Thanks.
 

Users who are viewing this thread

Back
Top Bottom