Code needed to open mdb file

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

Guest

I have created a program and I want it to open maximized to the switchboard
when I click on the file name. I have entered the DoCmd.Maximized under the
call to open, but I got no results. When I click on the file name Access
opens showing the window showing Tables, Forms, Queries, etc. Help!!!
 
Call me,

You have two options:
1.) Create an Autoexec macro with the Openform action. Specify the name of
your switchboard form in the lower window. Then add another action: Maximize.

2.) Set your switchboard form as the startup form, using the Tools >
Startup... menu selection. You can deselect the option to display database
window, allow built-in toolbars, etc. Then add some code to the Open event
procedure of your switchboard form:

Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
End Sub

Tom
________________________________________

:

I have created a program and I want it to open maximized to the switchboard
when I click on the file name. I have entered the DoCmd.Maximized under the
call to open, but I got no results. When I click on the file name Access
opens showing the window showing Tables, Forms, Queries, etc. Help!!!
 

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

Back
Top