Results 1 to 3 of 3
  1. #1
    jle0003 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    60

    Runtime error 7878 Data has been changed


    I have a main form with a subform. The subform is disabled until an option is selected from a combobox on the main form and then, depending on the selection from that mainform combobox, some of the comboboxes on the subform autofill with data and disable. The error occurs when a user makes a selection from the mainform combobox then enters data into the subform and then goes back to the mainform and makes a change in the data. Is there any way to prevent this error? If the user makes a selection in the mainform and then moves on to the subform only to realize they entered the wrong thing in the mainform so they try to edit it, my database crashes. Any ideas?

    Thanks!!

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Without a sample of the database or at the very least the code that runs your form/subform operations it's going to be extremely difficult to give you direction. If you want to provide a sample database (please make it 2003 for a wider audience) put some garbage data in it then zip it up and upload it we can all have a look.

  3. #3
    tanvi is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Mar 2012
    Posts
    100
    'Runtime error 7878 Data has been changed' error occurs when you are trying to change data in two places at the same time. It can be due to using the wrong events or using recordsets and forms to update data.

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

Similar Threads

  1. Replies: 13
    Last Post: 06-12-2012, 09:52 PM
  2. text box to see changed data for a given field
    By fabiobarreto10 in forum Forms
    Replies: 12
    Last Post: 01-12-2012, 04:26 PM
  3. Run time error 7878
    By smd_3 in forum Access
    Replies: 1
    Last Post: 01-13-2011, 04:42 AM
  4. Find out changed data
    By Papote in forum Programming
    Replies: 1
    Last Post: 04-27-2009, 08:19 PM
  5. Replies: 4
    Last Post: 04-01-2009, 11:48 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