troubleshooting Question

Minimize Application - Focus on Form

Avatar of jonlake
jonlakeFlag for Guernsey asked on
Microsoft Access
7 Comments1 Solution537 ViewsLast Modified:
I have code which minimizes the MS Access application upon opening and then opens a Login form. My problem is that I cannot get the focus automatically to the User ID field in the login form. For some reason the focus appears to remain on the minimized application until I physically clisk in the User ID field. The minimize code is:

Screen.Application.RunCommand acCmdAppMinimize

This works well but to perfect things I would like the focus to then be on the User ID field so that 'Users' can start typing instead of having to first clisk in the User ID field.

All help gratefully received.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros