Results 1 to 3 of 3
  1. #1
    Leonidsg is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    68

    Control Button to toggle edit mode

    Hello,



    I was wondering if someone can tell me how to program a control button to toggle edit mode on/off.

    Thank you,
    Lenny

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    You can use a toggle button and use its value directly, or toggle a form level Boolean variable.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Yes, sounds like you need a Toggle button, not a regular Command button.

    Code in the Click event maybe:

    Me.DataEntry = Me.togglebutton
    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.

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

Similar Threads

  1. Button For "Edit Mode"
    By jaarons in forum Programming
    Replies: 4
    Last Post: 01-25-2013, 09:58 AM
  2. Replies: 9
    Last Post: 10-17-2012, 11:37 AM
  3. Change form to edit mode using VBA
    By Richie27 in forum Programming
    Replies: 1
    Last Post: 06-05-2012, 04:39 AM
  4. Replies: 2
    Last Post: 09-01-2011, 10:48 PM
  5. Opening Saved data in form in Edit mode
    By l3111 in forum Forms
    Replies: 7
    Last Post: 06-06-2011, 11:37 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