SetFocus very slow during form open

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

Guest

We are using Me.KeyWord.SetFocus in one of our forms during form open event.
"KeyWord" is text box on that form. We have noticied that excuting this line
of code takes about 2 minutes during form open process.

No idea why. I need some help.
 
A form's Open event is too soon to use a SetFocus step. This is because
many/most of the controls on the form are not instantiated yet (don't exist
yet) in the form's Open event timeframe.

Move the code step to the form's Load event.
 
Back
Top