edit button

Gruung

Registered User.
Local time
Today, 10:07
Joined
Nov 25, 2003
Messages
35
I know this topic has been raised a million times, but i cant seem to find the awnser. On my form I have a button to edit the records. Before I press it anything typed on the keyboard will not change anything no data will be added, and when I press it you can edit your record. It also makes a new button stop edit visable. In my edit button I have the following code (and some more irrelevent stuff)

Me.AllowDeletions = True
Me.AllowEdits = True
Me.AllowAdditions = True

so naturally in my stop edit button I have

Me.AllowDeletions = False
Me.AllowEdits = False
Me.AllowAdditions = False

however when I click on the stop edit button, when you type anything it will still be entered and you can still add a new record. I'm sure its something really simple but i cant find what.

thanks
 
when I click on the stop edit button, when you type anything it will still be entered and you can still add a new record.
Is this while you're in the middle of editing a record? Or when you're not even in edit mode?
 
when i am finished editing a record and reverting back to non-edit mode
 

Users who are viewing this thread

Back
Top Bottom