switchboard not center

slimjen1

Registered User.
Local time
Today, 12:54
Joined
Jun 13, 2006
Messages
562
All, using 2010. My build in switchboard used to open in the center. all of a sudden; it is opening full screen. I tried playing with the auto center controls to no avail. I know it's something simple and this is driving me crazy. Please help
 
inspect if there is a code running on OnOpen or OnLoad event of your form.
try editing your form in design view.
 
The switchboard is the one created with Switchboard manager by another developer. this is the code On Open event:

Code:
' Minimize the database window and initialize the form.

    ' Move to the switchboard page that is marked as the default.
    Me.Filter = "[ItemNumber] = 0 AND [Argument] = 'Default' "
    Me.FilterOn = True
 
Did you have the "Options" for the "Current Database" set to "Overlapping windows"?
 
that code does not affect your switchboard size, are there anymore code? how about autoexec macro?
 
there's a mcrMaximize used on another form in the database but not in any of the switchboard properties
 
the switchboard comes from old access, is it correct. try closing the db, and open it again. edit your switchboard form, save. close and reopen it again.
 
The switchboard is opened after a logon by users which may be the cause. This is a snippet of the code from the logon screen:

Code:
If Me.txtPassword = Nz(DLookup("strEmpPassword", "tblUsers", "[lngEmpID]=" & Me.cboEmployee), "N/A") Then
        lngMyEmpID = Me.cboEmployee.Value

'Close logon form and open Users form
       
        Me.Visible = False
        DoCmd.OpenForm "frmMonitor", acNormal, , , , acHidden
        [B]DoCmd.OpenForm "Main Switchboard"[/B]
        Else
        MsgBox "Password Invalid.  Please Try Again", vbOKOnly, "Invalid Entry!"
        Me.txtPassword.SetFocus
    End If
 
I wil assu you are using "Overlapping windows" not Tabbed. Is that correct?

there's a mcrMaximize used on another form in the database but not in any of the switchboard properties


When you maximize a window in Access, all other windows are also maximized when you open them or switch to them.

Same is true for Restore.
 

Users who are viewing this thread

Back
Top Bottom