Combo Box Problem

G

Gary S

Hi,

I have a form that has several combo box in the header and
in the detail section it has a couple of forms on a tab control.
I have defaults setup for the combo boxes. The forms in the detail section
use queries that reference the combo boxes. But the forms ignore
the defaults and act as if nothing is selected in the combo boxes
until I actually click on the combo boxes and then they work fine.
I have tried with code giving the combo boxes the focus, also
have tried requerying the combo boxes but to no avail.

I would greatly appreciate help with this problem.
 
B

BruceS

Gary,
Have you tried calling the AfterUpdate code for the combos in the Form_Load
event?
Bruce
 
G

Gary S

Bruce,

Thanks!

I had some special code I normally do not have in
the "after Update" event that was not running.
Thanks for the insight, that solved the problem.
 

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