Programmer access to MSAccess


  1. Posts : 34
    Windows 7 64bit
       #1

    Programmer access to MSAccess


    Hello,
    In Windows XP to gain programmers access to MSAcess you would
    Shift+double-click. That doesn't work in Windows 7. Help? Thanks
      My Computer

  2.   My Computer


  3. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #3

    rbassman98003 said:
    Hello,
    In Windows XP to gain programmers access to MSAcess you would
    Shift+double-click. That doesn't work in Windows 7. Help? Thanks
    Shift+double-click does work on win7 x64 home premium and all win7 flavors.
      My Computer


  4. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #4

    rbassman98003 said:
    Hello,
    In Windows XP to gain programmers access to MSAcess you would
    Shift+double-click. That doesn't work in Windows 7. Help? Thanks
    What version of ms access? Shift+double-click just skips the startup code/startup form.
      My Computer


  5. Posts : 34
    Windows 7 64bit
    Thread Starter
       #5

    Using Office 2010
      My Computer


  6. Posts : 34
    Windows 7 64bit
    Thread Starter
       #6

    I have a laptop running Windows 7 Home Premium and a desktop running Windows
    7 Ultimate and on neither machine does Shift+double-click do anything. No response at all whether it be an .mdb or an .accdb. I have databases that have
    startup screens that I cannot get into the tables, queries, forms etc.
      My Computer


  7. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #7

    It should work! Bypass startup options when you open a database - Access - Office.com
    Did you set AllowBypassKey property to FALSE (it should be true)?

    Tip: create a new database with a startup form or startup code and try to bypass it using SHIFT key. Works?
      My Computer


  8. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #8

    1. Create a new database
    2. Create a new module in that database
    3. Paste the code as displayed below in it.
    4. Change the red text with real database location you want to unlock
    5. Put cursor in SetBypassProperty subrountine
    6. Press F5 (means run)
    7. Does is say "AllowBypassKey value is now: TRUE"?
    It fixed the issue?

    Code:
    Option Compare Database
    Option Explicit
     
    Public Sub SetBypassProperty()
    Const DB_Boolean As Long = 1
        ChangeProperty "D:\Ron\Docs\test\ff.accdb", "AllowBypassKey", DB_Boolean, True
    End Sub
     
    Function ChangeProperty(DbName As String, strPropName As String, varPropType As Variant, varPropValue As Variant) As Integer
     
        Dim dbs As Object, prp As Variant
        Const conPropNotFoundError = 3270
     
        Set dbs = OpenDatabase(DbName)
        On Error GoTo Change_Err
        dbs.Properties(strPropName) = varPropValue
        ChangeProperty = True
        MsgBox "AllowBypassKey value is now: " & dbs.Properties(strPropName).Value
     
    Change_Bye:
        Exit Function
     
    Change_Err:
        If Err = conPropNotFoundError Then ' Property not found.
            Set prp = dbs.CreateProperty(strPropName, varPropType, varPropValue)
            dbs.Properties.Append prp
            Resume Next
        Else
            ' Unknown error.
            ChangeProperty = False
            Resume Change_Bye
        End If
    End Function
      My Computer


  9. Posts : 34
    Windows 7 64bit
    Thread Starter
       #9

    Found resolution


    Just wanted to let you know I found the resolution to my issue today. Through trial and error, I found
    that if you open Access, go to File\Open and select that,
    locate the .mdb database you are wanting to modify, highlight it, hold the Shift key down and click on the Open button the database will open in "programmer mode" so you can modify it. I'm going to mark this as solved and I appreciate your help...
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:27.
Find Us