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
 
Joined
Feb 2, 2012
Messages
5
Reaction score
0
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top