Dsiplay a combo box

  • Thread starter Thread starter George Sydney
  • Start date Start date
G

George Sydney

I have created a label program to print freight labels. I have a item table
with 2 fields item code and item description.
i created a combo box on a form so i can select by item code, the combo box
shows item code and description when your selecting an item but once selected
the combo box only lists the item code and not the description.
I want to select by item code but the desription be visible on the form once
selected.
Can anyone help in a simple language.

Thanks
 
George:

Assuming the description is in the second column of the combo box's
RowSource property, i.e. its something like SELECT ItemCode, ItemDescription
FROM Items ORDER BY ItemDescription, then add an unbound text box to the form
with a ControlSource property along the lines of:

=[cboItems].Column(1)

where cboItems is the name of the combo box. Note that the Column property
is zero-based, so Column(1) refers to the second column.

Ken Sheridan
Stafford, England
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

combo box information 4
Result on Combo box return prior record data 4
Combo Box and First Record 5
default to first item in combo box list 4
Combo Box Setup 1
Sum usage 6
Combo box 3
Combo Box 1

Back
Top