Results 1 to 2 of 2
  1. #1
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480

    docmd.maximize (2003 to 2010)

    Alright, So I am moving from access 2003 on windows xp, to access 2010 on windows 7.

    When opening my form on access 2003, the docmd.maximize opens the form all the way to the LEFT side of the access window, this is what I want...

    While opening the form on 2010, on windows 7... the form window is about an inch from the left, and about an inch down from the top.

    I am wondering what would cause this? Did the default area for Twips change? <~ shot in the dark...



    So here is the Form_Current code... it is the same code on both systems.

    Code:
    Private Sub Form_Current()
    On Error Resume Next
     
    Dim oTD As DAO.Database
     
    Application.CommandBars.DisableAskAQuestionDropdown = True
     
    DoCmd.Maximize
      
      Me.lblUesr.Caption = Environ("username")
      DoCmd.ShowToolbar "Ribbon", acToolbarNo
     
    Set oTD = CurrentDb.TableDefs("tblCred")
    If Err.Number = 3265 Then
      DoCmd.TransferDatabase acLink, "Microsoft Access", Environ("userprofile") & "\My Documents\Lift\Credentials.mdb", acTable, "tblCred", "tblCred"
      DoCmd.TransferDatabase acLink, "Microsoft Access", Environ("userprofile") & "\My Documents\Lift\Credentials.mdb", acTable, "tblWebCreds", "tblWebCreds"
    End If
     
    End Sub
    The On Error Resume Next is to account for Access 2003 three users, so DoCmd.ShowToolbar "Ribbon", acToolbarNo does not give them an error... Any ideas?

  2. #2
    help_me_with_access is offline help_me_with_excel
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    262
    the only idea I would have is that it has nothing to do with twips. no, I don't think the default changed, if there even is a default. A twip is not part of access I don't think....I think it's a windows-based conversion used by multiple programs. Office programs, I think. But not sure.

    but remember to try the obvious first...restart machine, clean it (CCleaner, Disc Cleanup, Memory Dump, Defrag, etc...). Well defrag is not necessary, but just cover the basics.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access 2003 and 2010
    By Rick West in forum Access
    Replies: 1
    Last Post: 03-05-2012, 07:36 PM
  2. Maximize Switchboard and hide shutter bar
    By Huddle in forum Access
    Replies: 4
    Last Post: 02-27-2012, 08:04 AM
  3. access 2010 to 2003 conversion
    By Mclaren in forum Access
    Replies: 2
    Last Post: 08-19-2011, 03:53 AM
  4. maximize switchboard upon opening
    By zrawe16 in forum Access
    Replies: 4
    Last Post: 05-27-2011, 12:26 PM
  5. 2003 Security in 2010
    By tgavin in forum Security
    Replies: 0
    Last Post: 07-29-2010, 10:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums