473,487 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Avoiding Form Autosave & Microsoft Error on Closing

1 New Member
Hi,

I'm looking for help when it comes to how to stop a form from autosaving when it is closed and instead use a "save" and and an "exit" button. I've looked online and found tons of code that is supposed to help with this, but I am so code-illiterate that I have no idea what I need to modify in the code to apply it to my specific form.

I need a save button that saves, an exit button that exits without saving any changes, and I'd like to avoid the "You can't save this record at this time. Microsoft Access may have encountered an error while trying to save a record" message that comes up when trying to close with the X button.

I know that it'll be the BeforeUpdate event that needs coded but everything I've tried hasn't worked - one button will work and the other won't or I'll get the "you can't save..." message.

I'm so frustrated!!!

Any help would be greatly appreciated!!!
Dec 7 '16 #1
0 708

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1221
by: JESS | last post by:
When we print an HTML page from the browser,the Page Number (at Top right) and page URL (At bottom) is printed. How can we avoide these information so that our page print out look similar to a...
4
1627
by: Renzska | last post by:
Hi, I have an xml file that is written and it writes the & like "&", without the quotes. When I go to read it back in, it reads it as "&" instead of "&" which is what I need. How would I go...
1
1263
by: thomasp | last post by:
I get the following error when closing VB2005 beta 2. Everything runs fine. Just wondering what the error is and how to eliminate it. ******** The control System.Windows.Forms.MdiClient has...
2
2058
by: Fionnbarr Kennedy | last post by:
Hi all I have posted this problem before but am having no joy! I have an app written in Access 2000 which is based around a Form/Subform. The problem is with a new XP box only - the same app...
2
1683
by: Dave | last post by:
I build a very simple program that I put at the end of this post. This program is just supposed to put a button on the screen and exit the program when I press the escape button. But pressing the...
3
11313
by: Zürcher See | last post by:
I've wrote an application that use internet explorer to download some html page, to get the document I use the Microsoft.mshtml library. mshtml.IHTMLDocument3...
7
6529
by: wmkew | last post by:
Hello everyone I'm encountering a R6002 Runtime error and several bugs when trying to generate a simple Managed C++ application with .NET 2003. The main problem seems to arise from linking with...
0
850
by: John Swan | last post by:
Hello. Every time I try and change the design or layout of the form I receive this error. However, the code will compile and run fine. Any ideas? -- www.integrated-dev-sol.co.uk Remove 123...
2
6031
by: Reginald Bal | last post by:
Hello, I created a main form with 2 subforms. In an attempt to move to the next record (or new record) on the main form I get the error " Method 'requery' of object '_Subform' failed". The...
2
2545
by: rdemyan via AccessMonster.com | last post by:
I have a custom message form that I want to display when the user shuts down my app. Some clean up needs to be done during shutdown and I want to display this form and then display various...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7132
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7180
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5439
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4564
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3076
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1381
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.