Results 1 to 3 of 3
  1. #1
    shylock is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Sep 2018
    Location
    Dayton, Ohio
    Posts
    100

    Cannot Edit form and save to table

    I have a form to track down time for our servers. I display the downtime table in a continuous form. I need to be able to adjust the downtime that was originally entered for a server to reflect the actual time that the server was out of service, if it differs from the originally requested length of time. When I edit the fields for date and time and then click the Save button I receive the following error: "This record has been changed by another user since you started editing it. If you save the record, you will overwrite the changes the other user made." It then gives me a choice of copying to the clipboard or dropping the changes.

    There are no other users, as this project is in the test mode and the database is local to my PC>



    My question is: How can I over come this error?

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    This can be caused by
    - a bit field that has no data in one or more records (in tables such as sql server)
    - code that doesn't save the current record but attempts to move to a different (or new record) improperly
    - code that saves OK but then runs an update and doesn't save that update (or vice versa)
    Probably there are other reasons not coming to mind at the moment. Might have to paste your save button code, and maybe form code related to field events.

    Edit
    - two subforms, one with update not saved & attempting to update the other.
    Last edited by Micron; 09-26-2018 at 01:20 PM. Reason: clarification
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    fletcjas is offline Novice
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2018
    Location
    Lincoln, UK
    Posts
    23
    It will be that your table has a 'NULL' where the field is set to 'Allow zero length = no'

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

Similar Threads

  1. Replies: 13
    Last Post: 01-09-2018, 09:47 AM
  2. Replies: 5
    Last Post: 11-06-2013, 02:49 PM
  3. Replies: 8
    Last Post: 09-27-2012, 11:12 AM
  4. Replies: 9
    Last Post: 01-20-2011, 02:22 PM
  5. Replies: 1
    Last Post: 08-13-2010, 10:10 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