Form frozen after loading/opening

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

I am building a form which itself is unbound but which
has several text boxes, list boxes, two unlinked
subforms, and command buttons. I am using VBA to
synchronize and link all the controls within the form.
Most things were already working while I tried to add and
synchronize a couple of more list boxes. It appeared that
I had finally gotten them to work as well. However, now
when I first open the form, it appears to not fully load.
All the controls are there, but the list boxes don't have
a default record selected and I cannot select or enter
any of the controls with the mouse to select anything.
The form also is taking a long time to try and open. How
do I figure out what went wrong?
 
PS: By the way, when I switch from Form view to Design view and then
back again without changing anything, the form seems to become
active and I can do things in it. ???
 
Try stepping through the code to see what it is doing. Put a breakpoint in
the code's first event (likely OnOpen or OnLoad?) and then you can open the
form and then step through the code.
 
Back
Top