A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

don't save record unless I click save



 
 
Thread Tools Display Modes
  #1  
Old August 30th, 2006, 12:42 AM posted to microsoft.public.access.forms
Harry
external usenet poster
 
Posts: 222
Default don't save record unless I click save

I have been entering info in my form with no problem. I closed the form and
went to something else and then came back to the form. I noticed that Access
saved what I typed even though I didn't tell it to. This is also a problem
when accidentally editing an existing record. I really have to keep an eye on
what I'm doing. I want to keep Access from saving a record unless I click a
Save button. How can I do that?
  #2  
Old August 30th, 2006, 01:04 AM posted to microsoft.public.access.forms
Larry Linson
external usenet poster
 
Posts: 3,112
Default don't save record unless I click save


"Harry" wrote in message
...
I have been entering info in my form with no problem. I closed the form and
went to something else and then came back to the form. I noticed that
Access
saved what I typed even though I didn't tell it to. This is also a problem
when accidentally editing an existing record. I really have to keep an eye
on
what I'm doing. I want to keep Access from saving a record unless I click
a
Save button. How can I do that?


You can put code in the BeforeUpdate event of the Form to Check if you have
set a variable due to clicking a Save button, or also in the BeforeUpdate
event, you can use the MsgBox function to communicate with the user, asking
if he/she really desires to Save.

That said, Access saves the Record automatically under a number of
conditions and most people learn, not only to live with that, but to like
it.

Larry Linson
Microsoft Access MVP


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:31 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.