Assuming that the additional pieces of information are contained in the
RowSource of the combo box, you can put code in the AfterUpdate event to do
that.
For instance, the following will take the value from the second column of
the selected row in the combo box into a text box (the Column collection
starts numbering at 0)
Private Sub MyCombo_AfterUpdate()
Me!SomeTextbox = Me!MyCombo.Column(1)
End Sub
Note that the ColumnCount property of the combo box must be at least as big
so as to include the column being referenced. However, it's not necessary
that the column be visible in the combo box (you can control this through
the ColumnWidths property)
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"Will_T" <(E-Mail Removed)> wrote in message
news:35AE0F51-F7DD-46FB-85CA-(E-Mail Removed)...
>I have created a combo box that inputs data from a lookup table into the
> current text box on a form. I would like it to add the related data of
> another field to the other text box on the form.
>
> For example; the user selects the appropriate course from the combo box
> which will then input the course and hours into the cooresponding text
> boxes
> on the form.
>
> --
> Will