Simple question about population field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to populate "textbox" by clicking one option from list box. I don't
mean drop down list in this case. Simple list where the choise is painted
blue. I haven't been able to accomplish this yet, although it must be simple.
Can somebody help? Thanks.
 
Sam said:
I want to populate "textbox" by clicking one option from list box. I
don't mean drop down list in this case. Simple list where the choise
is painted blue. I haven't been able to accomplish this yet, although
it must be simple. Can somebody help? Thanks.

Why don't you just bind the ListBox to your field and forget about the
TextBox?

Anyway you would use the AfterUpdate event of the ListBox (assuming
multi-select is disabled).

Me.TextBoxName = Me.ListBoxName
 
Yes, I solved the problem with binding. Previously I had wrong field
selected. Thanks for the help.
 

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