Allowedits doesn't seem to be working
Posted on 2005-05-13
I have a form on an access 2003 database that I want to have 'locked' by using me.allowedits = false so that the user can't accidentally change data. There is an Edit button that allows edits. I'm using this successfully on several other forms in the application but on this one form (That consists of a form / subform) the technique doesnt' seem to work.
I have set the property (allowedits) on the form itself to false. On the oncurrent event I have the following code me.allowedits = false. On the afterupdate event I have the same code. Even with all this, I can go to any field on the main form and change anything.
Can someone tell me what I'm doing wrong? Does it have to do with the form / subform?
Thanks for the assistance.