View Single Post
  #5  
Old February 12th, 2010, 02:08 AM posted to microsoft.public.access.forms
Rlong via AccessMonster.com
external usenet poster
 
Posts: 7
Default Lock/unlock form button

Thanks for thinking about it. Even with my limited coding experience I
thought that this code looked a little simplistic and un-elegant. Maybe I'll
work with the other set of code instead and try to build in some of the
safeguards I'm looking for.




Allen Browne wrote:
There are multiple problems with the original code's working/reliability, so
I'm not sure I can sort it out for you.

Examples:
- You have to hard-code the names of the controls in the code.

- Setting AllowEdits has other side effects (e.g. entire form disappears if
there are no records, and its effect on subforms.)

Thanks, Allen! This code works as well, and it's helpful to be able to
unlock

[quoted text clipped - 32 lines]
End Select
End Sub


--
Message posted via http://www.accessmonster.com