Form real refresh

Joined
Jan 6, 2012
Messages
2
Reaction score
0
Hi,

I'm relatively new at access programming so I have a little question.

On my Form I have a check box which is there as a condition if form fields can be or cannot be accessed. Example - if check box is checked one cannot change anything on the form if it is unchecked values can be changed.

So all this works great for first record. When I go to the next record, and this checkbox is checked, I still can change values because they do not go on enabled=false.

I have done this for each field (me.field1.enabled=false, me.field2.enabled=false, ...). Is there a way to disable entire form? Something like me.form.enable=false :)

I hope it is understandable what I am asking for and thanks to all in advance

Drago
 
I would suggest making the default of your fields = disabled...then have your checkbox (if true) enable all fields, that way when you go to a new record they will all revert back to disabled until the checkbox is clicked again.

Hope that helps
 
Back
Top