I am attempting to create a check box that when made "yes" locks the form from all other editing. I do still need to create new forms within the data base. Does anybody know how to do this or even if its possible, even a button that will do it rather than the check box would be welcome. My access knowledge is very limited. I got the project by been the person with the least work load. Thanks.
Check box for locking
Collapse
X
-
Tags: None
-
A user creates a form. Any number of users may view and some may edit the form. The form is for work status, so further entries may be made untill the job is complete. Once the "job complete" box is checked I want the form to be locked so no further entries can be made on that form.Originally posted by PEBU need the form locked for editing and the user that uses the form can't introduce any info anywhere?
Or simply when user introduces record other can't do anything on this record?Comment
-
In this case in ur form u need a bit VBOriginally posted by demonseedgfxA user creates a form. Any number of users may view and some may edit the form. The form is for work status, so further entries may be made untill the job is complete. Once the "job complete" box is checked I want the form to be locked so no further entries can be made on that form.
In Form properties go in Current, choose event procedure and type
me!FIeld1 is the name of ur respective field that is filled with Yes or NoCode:If me!FIeld1=Yes then Me.AllowEdits = Yes else Me.AllowEdits = no end if
I assume that Yes or No is a checkbox and not textfield!Comment
Comment