Results 1 to 8 of 8
  1. #1
    Ceadmo is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    16

    Command Buttons on older version of Access


    I have an old 2003 Access database and when I opened this database in 2010 Access the Command Buttons won't work. Everything else seems to work just fine. Is there a quick fixed for this problem or do I have redo all of the buttons by hand one at a time.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Bing: access 2003 command buttons not working access 2010
    http://answers.microsoft.com/en-us/o...b-3db25b0f3cd4
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Ceadmo is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    16
    As far as I can see I have disable the items in the TGrust Center, but my buttons still do not work.

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by Ceadmo View Post
    ... but my buttons still do not work.
    When they did work, what caused them to work? Did they use embedded macros or did they use VBA?

  5. #5
    Ceadmo is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    16
    When I originally set the buttons, I would have used the build in wizard to set them up.

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Then there should be VBA behind the form for each of the controls.

    Check your original copy of the MDB and compare the VBA with your new 2010 version (use the View Code option). I cannot think of a reason why the old VBA generated by the wizard would not work for a command button. There are some exceptions for controls like option groups.

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Just tested creating a new button on form and let wizard do the coding. Even though I have db set to 'always use event procedure', it builds an embedded macro. However, when I double click in an event property, I get [Event Procedure] but no code is generated.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #8
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I don't have a keyboard or monitor connected to me XP box with A2003. So, I probably won't get around to testing it. The way I remember 2003 working is it will generate VBA from the Wizard. Things like opening a form and applying where criteria is done via VBA and no Macro. I do not recall any special settings for generating a macro vs VBA. Maybe I never paid attention.

    Anyway, if there is not VBA in the original DB, the OP can look for a Macro and or import the form using the Advanced Options of the Import Wizard, to include macros (can't remember what the option reads like, exactly).

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

Similar Threads

  1. Older version Access upgrade to Win-7 64
    By SteveACCESS in forum Access
    Replies: 1
    Last Post: 04-02-2012, 05:46 PM
  2. Replies: 5
    Last Post: 10-28-2011, 12:12 PM
  3. Replies: 4
    Last Post: 06-15-2011, 03:55 AM
  4. command buttons
    By nashr1928 in forum Forms
    Replies: 23
    Last Post: 10-15-2010, 04:09 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