Lookup checkbox value

D

David

How would you go about finding a checkbox value in a field in an "if"
statement

I have got a form that has checkboxes in groups, the checkboxes store their
value in a table

What I would like to try to accomplish is 3 things
1.Stop The Selection
2.Display A Message To Explain Why
3.Select Default Checkbox

example:
if "check149" from one group is already selected, I am trying to stop them
from selecting another group"specifically "check152" in the group.
There are 9 different groups that they have options to pick from and under
certain scenarios they don't need to pick certain checkboxes from those
groups.
 
B

Bill Taylor

Use the AfterUpdate event of the checkbox149 to set the property locked to
true. The user now cannot change the value. You may also want to set the
value to false as well (unchecked)
checkbox152.locked = true
checkbox152 = false
do the same for each scenario.
THT
 
D

David

Where is the after update event for the checkbox, I have got only got focus
and on lost focus,then events are limited in the selection, unless you can
add an event? if so how?
 

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