Combo Box Help

  • Thread starter floyd33 via AccessMonster.com
  • Start date
F

floyd33 via AccessMonster.com

I have a combo box that is looking up values in a table. I also have a macro
on that field on dbl click so the user can add more entries to the table as
needed. My problem is that I can't select any of the choices in the drop
down! I have enabled edits, it's not locked, etc. I am pulling my hair out
here, please help me!
 
J

John W. Vinson

I have a combo box that is looking up values in a table. I also have a macro
on that field on dbl click so the user can add more entries to the table as
needed. My problem is that I can't select any of the choices in the drop
down! I have enabled edits, it's not locked, etc. I am pulling my hair out
here, please help me!

Rather than using the dblclick event, use its Not In List event. The user can
type a value into the combo; if it's an existing value it will be selected,
and if not it will run your code (which can add what they typed to the table,
or open a data entry form, or whatever). There's sample code at

http://www.mvps.org/access/forms/frm0015.htm

or you can Google for "access notinlist".
 

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

Similar Threads

Combo box 0
Weekly Report 2
Combo or list box 0
Drop down list control value in vba 2
Combo or list box 0
list or combo box 0
1 combo box changes per 2 other combo boxes 3
Combo Box 1

Top