Results 1 to 4 of 4
  1. #1
    Vanita is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Feb 2019

    Do not save "Form" when either closed or Clicked anywhere except "Save Button".

    Do not save data in table which is entered in form when "Form" is closed with "close" button, How to avoid it?
    We can not give restriction to table(Required:Yes) since we have to use subform data in form.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Its automatic save so users don't have to think about it and you want to turn it off and give them more work to do?

    youd need to make a form unbound ,with all textboxes unbound.
    user enters all the data, then when they click save, run an append query to add all the boxes to the table.

    more work for you too to design it since the normal autosave form can be created with 1 click of a button.

  3. #3
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Ontario, Canada
    You can also load a copy of a record in a temp table and if the user closes the form, either prompt to save (update the source table with the changed data and delete that temp record) or just delete the temp record - your choice. If you don't want to allow changes based on how a user closes a form, easier to lock the record so that it can't be updated or remove the form close button and only provide your own buttons.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    Vanita is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Feb 2019
    Thank You..Its working.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-07-2015, 08:00 AM
  2. Replies: 4
    Last Post: 03-12-2014, 06:46 AM
  3. Replies: 5
    Last Post: 02-05-2013, 10:57 PM
  4. saves data with out click "Save" button in forms
    By terrythomasvda in forum Forms
    Replies: 4
    Last Post: 01-14-2013, 01:31 PM
  5. Replies: 11
    Last Post: 03-29-2012, 02:32 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