More than one field bound to combo

  • Thread starter Thread starter chris
  • Start date Start date
C

chris

I have a combo which fills in an applicant's name (from tblPerson) in
a table (tblProject) but I also want to fill in the applicant's ID in
the same table. I need both fields in order to record the applicant's
name at the time of application but also to maintain the link to the
person via the ID to cover circumstances where the name in tblPerson
may in the change in the future. Can anyone suggest how I can do this.
Chris
 
chris said:
I have a combo which fills in an applicant's name (from tblPerson) in
a table (tblProject) but I also want to fill in the applicant's ID in
the same table. I need both fields in order to record the applicant's
name at the time of application but also to maintain the link to the
person via the ID to cover circumstances where the name in tblPerson
may in the change in the future. Can anyone suggest how I can do this.
Chris

ComboBox with two columns, one with ID and one with name. Display either
one or both in the drop-down and make the first column (Column(0)) the bound
column. In the AfterUpdate event of the ComboBox have code...

Me!SomeOtherControl = Me!ComboBoxName.Column(1)
 

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

Back
Top