Collapse Combo - repost

T

Tara

Repost from earlier this week:

I have a combo box used for selecting the client record the user wants to
work with. I have autoexpand set to Yes. When you begin typing, the combo
automatically drops down to make several selections visible at once. Once
the user finds the correct client and clicks on the name, the form displays
that client's data. The problem is that once the client is chosen, the combo
box remains open. I want the user to click on a client and then have the
combo collapse. How do I make that happen?

* I had several good suggestions/responses from my earlier post, one of
which was to put code in the OnClick event of the combo box. Unfortunately,
I have code in the OnChange event - Me.cboClient.Dropdown - that interferes
with that. When I tried it, I got the following message:

Run-Time error (2185)
You can't reference a property or method for a control unless the control
has the
focus.

Does anyone have any other suggestions?

Thanks!



Thanks!
 

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

Top