Results 1 to 2 of 2
  1. #1
    IIBRAHIM is offline Novice
    Windows 10 Access 2016
    Join Date
    Nov 2021
    Posts
    7

    Restore the value of Bound controls

    I have a form with several controls.

    Now, I want a situation where if a user changes or deletes the contents of any of the controls, it should undo it and restore the previous value. I have tried all i could but still does not work.

    If I use Me.Undo, it works but restores the values of all the controls (which I do not want to do).

    I am using this to try do that (for 1 of the controls):


    Me!txtsysinput.Undo

    However, this also does not work.

    If there something further i need to do for the controls event anywhere?

    Please assist. This is urgent.

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    you can try

    txtsysinput=txtsysinput.oldvalue

    but if you don't want users to edit values, lock and/or disable the control

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

Similar Threads

  1. Restore unbound controls' value
    By Lhoj in forum Programming
    Replies: 3
    Last Post: 05-05-2022, 02:29 AM
  2. Cascading combo boxes on bound controls
    By Coasterman in forum Forms
    Replies: 4
    Last Post: 07-12-2019, 04:18 PM
  3. Replies: 7
    Last Post: 09-28-2018, 05:30 PM
  4. How to bound 2-controls n a Form?
    By djclinton15 in forum Forms
    Replies: 1
    Last Post: 12-05-2015, 03:32 PM
  5. Bound Controls?
    By dccjr in forum Programming
    Replies: 3
    Last Post: 04-24-2013, 08:05 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