working with list box and combo box

lamha

Registered User.
Local time
Today, 23:25
Joined
Jun 21, 2000
Messages
76
How to make a selection in a list box to be recorded in a combo box?
I have a list box in the main form that contain a list of ProjectName. There is a combo box in a subform that also contain the same list of ProjectName.
I want to give the user 2 ways to entering data. He can choose a Project from the combo box OR click a Project from a list box and it will pop up in the combo box.
How can I do this? Thanks for any help in advance.

[This message has been edited by lamha (edited 07-13-2000).]
 
If the row sources for the list box and combo box are the same (especially the bound column for this solution), then on the click event of the list box, set the combo box = to the list box

forms!MainForm!subform!ComboBox = me.listbox

If they aren't the same, please post how they are set up.
 
Thank you very much. It worked.
 

Users who are viewing this thread

Back
Top Bottom