J
James_101
In Access 2000, my database opens with an AutoExec macro. This macro opens a
form called Main_Form and then maximizes it. In startup properties
(Tools|Startup), Display Database Window is unselected. In Main_Form,
Command Button #1 receives the initial focus in the tab sequence.
If I open the database file by double clicking it in Windows Explorer, all
goes well. I note that the title bar for the application is active (dark
blue).
If, however, I open the file using the Mcrosoft Office 2000 Shortcut Bar,
then Main_Form appears but button #1 does not have the focus. It is slightly
smaller than usual but does not have the dotted-line rectangle that denotes
buttons having the focus. Also, the title bar for the application is light
blue. If I click the window, then the dotted rectangle appears on button #1
as desired.
In the AutoExec macro, I have tried SelectObject and GoToControl to activate
the form and button #1 but both actions failed.
Are there suggestions on how I can get button #1 to show the focus when the
user opens the database using the Office Shortcut Bar?
Thanks.
Jim
form called Main_Form and then maximizes it. In startup properties
(Tools|Startup), Display Database Window is unselected. In Main_Form,
Command Button #1 receives the initial focus in the tab sequence.
If I open the database file by double clicking it in Windows Explorer, all
goes well. I note that the title bar for the application is active (dark
blue).
If, however, I open the file using the Mcrosoft Office 2000 Shortcut Bar,
then Main_Form appears but button #1 does not have the focus. It is slightly
smaller than usual but does not have the dotted-line rectangle that denotes
buttons having the focus. Also, the title bar for the application is light
blue. If I click the window, then the dotted rectangle appears on button #1
as desired.
In the AutoExec macro, I have tried SelectObject and GoToControl to activate
the form and button #1 but both actions failed.
Are there suggestions on how I can get button #1 to show the focus when the
user opens the database using the Office Shortcut Bar?
Thanks.
Jim