Results 1 to 7 of 7
  1. #1
    davef62 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2018
    Posts
    3

    Command buttons won't fire using 64-bit Access 2013

    We have an old .mdb database on our internal network used to collect defect information. This has been working fine at all computers through our plant. Our IT department regularly replaces old computers with new ones, the new ones have Access 2013. One of these new computers has the 32-bit version of Access, this database works fine on that machine. The other are the 64-bit version, when I open the database with this version the command buttons on the main switchboard will display but the events associated with them will not fire, nothing happens. I did convert a copy of the database to .accdb and opened it with the 64-bit Access 2013 but the command buttons still did not work. Any suggestions?

  2. #2
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,157
    Did not work isn't telling us a lot.
    Any error codes ? if it stops which line of the code does it stop on and what's the rest of the code?
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    davef62 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2018
    Posts
    3
    I get no error codes, does not show any line of code at all, I just click the button, which is supposed to open a form, and nothing happens. This button works on all other machines other than the ones running 64-bit Access 2013.

  4. #4
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Open any module to get into the VBA editor and try to compile the project. You will probably get compile errors due to 32 bit API declarations missing ptrsafe attribute. The easiest fix is to ask your IT to install Office 2013 32 bit instead of 64 bit (the fact that the newer operating system is 64 bit is irrelevant).

    Cheers,

    Vlad

  5. #5
    davef62 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2018
    Posts
    3
    Thanks Vlad. I did compile the project with no problems, there are no declarations in this project. The only module in the project is one that sends a notification e-mail to a specified group if the user wishes to do so, this has been working fine. The problem occurs at the main switchboard when the database is first opened. The command buttons are not grayed out so they are enabled, just nothing happens when they are clicked on the 64-bit Access machines. I have talked with IT and they will not be installing 32-bit access on any machines.

  6. #6
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Have you set the trusted location on the new machine?

  7. #7
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Presumably the old machines had an earlier 32-bit version of Access (before 2013)
    Check whether there are any VBA references marked MISSING on the 64-bit Access 2013 machine. If so, browse to the reference location to fix these
    Also if you have any ActiveX controls, or the old calendar control, these may not work in 64-bit Access. If so, you will need to modify code.

    There are NO advantages in using 64-bit Access. Personally I would put pressure on the IT department to change back to 32-bit Access
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

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

Similar Threads

  1. Replies: 4
    Last Post: 01-20-2017, 08:16 AM
  2. Buttons not working in Access 2013
    By scorpion99 in forum Access
    Replies: 1
    Last Post: 09-28-2016, 02:40 PM
  3. Command Buttons on older version of Access
    By Ceadmo in forum Access
    Replies: 7
    Last Post: 05-03-2015, 01:47 PM
  4. Replies: 5
    Last Post: 09-28-2013, 05:48 PM
  5. Access 2007 Command Buttons
    By fgerald in forum Access
    Replies: 2
    Last Post: 03-05-2010, 07:09 PM

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