Hi everyone, I need some help (obviously!)
I have a simple database for entering sample requests.
In my sample request entry form (tblSampleOrders) I have a combobox that selects from a table with our sales reps information (name, phone & e-mail.)
What I can't seem to figure out seems like it should be very simple:
When I choose a given sales rep in the combo box, how can I copy the two additional fields in the table to two additional fields on the entry form?
i.e...I choose Sales Rep Norm from the combo box. This then copies the saved phone & e-mail for Norm to the Phone & E-mail fields on the Entry form. This information would be saved in the tblSampleOrders fields named RequestedByPhone & RequestedByEmail.
I found another post in this forum that seemed to be on the right track, but when I installed the code it did not work:
AfterUpdate_RequestedBy combo box
Me.SalesRepEmail = Me.RequestedBy.Column(1)(zerobased)
Me.SalesRepPhone = Me.RequestedBy.Column(2)(zerobased)
I appreciate any help you can offer!