Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Set Warnings
Richard Lanoue 
    
3 years ago
You know how you can trigger an even and have "DoCmd.SetWarnings False and DoCmd.SetWarnings True". When ever I change a record and go to open a in my list, I get "The data has been changed. Another user edited this record and saved the changes before you attempted to save your changes. Re-edit the record."
Is there a way to remove this warning like I do with the set warning code?
BTW it could be a good video for Youtube.  Just saying.
Richard Lanoue OP  @Reply  
    
3 years ago

Gregory Clancey  @Reply  
    
3 years ago
Hi, Rich. I'm familiar with this waring too. I get it when there are two forms open which draw their data from the same table. It seems that the first Form thinks IT has the exclusive task of altering its bound table's data and detects that something other than itself has made a change. I've not been able to resolve this. Where possible, I find a workaround.
Gregory Clancey  @Reply  
    
3 years ago
I'm trying to resolve the same issue in my database. The problem seems related to a second form editing a field using a ComboBox followed by an SQL or Recordset write of the selection to the first form's bound record source table. However, it doesn't seem to be happening when my 2nd form changes values in TextBoxes bound to that same table. There, my changes from Form 2 are immediately reflected on Form 1 without a requery or any further action. Maybe edits using Combo's should happen on Form 1 - the original form (unhide a control?) and reserve the 2nd Form for TextBox editing only.
This happens when Form 1 is bound to a query generated from a table full of foreign keys, with strings from related tables replacing the meaningless foreign key number content. Would a 2nd form be needed at all in that case? (thinking out loud)
Kevin Yip  @Reply  
     
3 years ago
Hi Richard, that "another user" is you.  You made two changes to the same record at the same time and Access can't decide which change to accept.  This is not just a warning, but a problem you need to fix, otherwise you may lose data.  Find out which two changes are being made, and move one of them to a different time (usually via a different event).

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 3:28:32 AM. PLT: 0s