Combobox.column()

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi,
How would I set a field to show 2 combobox columns.
i.e. [firstname] and [second name]

At the moment I amusing an event in the afterupdate box of the combobox to
populate the text box with a first name.
I know I can put 2 text boxes and bind it to column(3) but I just wondered
if it was possible to put 2 columns in1 text box as you can on a report.
i.e. [FirstName]&""&[SecondName]

Regards

John
 
John said:
Hi,
How would I set a field to show 2 combobox columns.
i.e. [firstname] and [second name]

At the moment I amusing an event in the afterupdate box of the
combobox to populate the text box with a first name.
I know I can put 2 text boxes and bind it to column(3) but I just
wondered if it was possible to put 2 columns in1 text box as you can
on a report. i.e. [FirstName]&""&[SecondName]

The answer is contained in your own post.

=ComboBoxName.Column(0) & " " & ComboBoxName.Column(1)
 
Rick,
Thanks for the reply.
I think the word i'm looking for is "Doh"

Regards

John

Rick Brandt said:
John said:
Hi,
How would I set a field to show 2 combobox columns.
i.e. [firstname] and [second name]

At the moment I amusing an event in the afterupdate box of the
combobox to populate the text box with a first name.
I know I can put 2 text boxes and bind it to column(3) but I just
wondered if it was possible to put 2 columns in1 text box as you can
on a report. i.e. [FirstName]&""&[SecondName]

The answer is contained in your own post.

=ComboBoxName.Column(0) & " " & 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