Table Locking

arstacey

New member
Local time
Today, 06:21
Joined
Mar 29, 2006
Messages
4
I have a single table app with a form. The form pretty much just displays the data that is in the table in a more user friendly view. Right now when a user enters data into the form it automatically adds it to the table. What I want is for the table to not be updated until the user clicks a Save button. Can anyone tell me how to do this?
 
The easiest method is to check a flag in the BeforeUpdate event of the form and not allow updates unless the flag has been reset by your "Save" button. You should probably provide an escape method with Me.UnDo if the user wants to bail out.
 
Sorry but I am a noob when it comes to access. All I have ever used it for was storing data in a table. This is my first form. How do I check a flag in teh beforeupdate event? Do I do this on each field or once for the entire form?
 
Sorry but I am a noob when it comes to access. All I have ever used it for was storing data in a table. This is my first form. How do I check a flag in teh beforeupdate event? Do I do this on each field or once for the entire form?
 

Users who are viewing this thread

Back
Top Bottom