Results 1 to 5 of 5
  1. #1
    tylerg11 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2011
    Posts
    200

    Question Disable save?


    I'd like to disable the Save button on my form for a compiled Access file. So the user would not be able to right-click on the form and click 'Save'. This is so that my customized save button on the form is forced to be used instead (there is certain code that needs to run when saved). Unless there is an event for this?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You can disable the right click shortcut menu and ribbon tabs through database properties.

    Office button > Access Options > Current Database > Ribbon and Toolbar Options

    When you want to open the development db for modification, hold down the shift key while opening to override the above settings.
    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
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    If you feel ambitious you can create custom menus from Tools\Customize from the main window.

    Once you have a custom menu created, named, and saved you can assign it to a specific form. In the form's properties on the Other tab, there is a field for Shortcut Menu Bar. Your custom named tool bar should appear in the pull down. Because it is a Shortcut menu, this is your right mouse click menu.

    Downfall is this custom menu is stored within Access as a macro. It does not transfer when you export your form to another DB. You have to recreate the menu, using the same name or remove the option from the properties within the form.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Access 2007 and up don't have Tools/Customize. A bit more complicated to customize the ribbon.
    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.

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    Didn't know that. Thanks June7

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

Similar Threads

  1. Replies: 3
    Last Post: 10-08-2012, 08:40 AM
  2. Replies: 8
    Last Post: 09-27-2012, 11:12 AM
  3. How to disable save/close window in form
    By Kivan in forum Access
    Replies: 2
    Last Post: 08-16-2012, 02:52 AM
  4. disable "save export steps"
    By emerrube in forum Access
    Replies: 4
    Last Post: 06-28-2011, 01:22 PM
  5. Replies: 9
    Last Post: 01-20-2011, 02:22 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