check box on footer

M

mcourter

is there some reason why a check box will not allow me to check it when
it's on a form footer?
 
K

Klatuu

There is no reason it should not allow it. Check a few things.
Be sure the check box is Enabled
Be sure the check box is not Locked

Also, If you are trying to tab to it, be aware you cannot tab from section
to section. for example, if you have 4 controls in the detail section of the
form, it will cycle through all the controls in the detail section 1, 2, 3,
4, 1, 2, 3, 4, 1, etc
You will need to use the mouse to click on it directly.
 
M

mcourter

i am clicking with mouse.
tried to add option group with two radio buttons and it would work
either.
this is a dialog form.
 
K

Klatuu

What do you mean when you say dialog form? What properties do you have set
for the form? Also, be sure the option group is enabled and not locked.
 
M

mcourter

i meant it's modal.
yes, of course the radio and check boxes are enabled and not locked.
i added an on click method for check box and it doesn't fire.
?
 
M

mcourter

i take it back - this form is not modal.
just a regular ol form.
i have command buttons on the footer and they work fine.
 
K

Klatuu

Sometimes it is necessary to ask obvious questions.

I have tested both an option group and a check box in a form footer and have
no problem with either. There is something about the control or the form
that is causing this, but without it in front of me, it is hard to tell.
 
M

mcourter

looks like my bad.
i have allow edits, deletions, additions, data entry all set to no on
the detail so apparently i can't update a checkbox or radio button.
i need to protect the data being displayed in continuous form from
edits.
is there another way?
can i put a read only attrib on the data source?
 
M

mcourter

i locked the fields that needed locking and allowed edits on the form
and i'm good to go.
thanks for causing me to take a harder look.
theis form has been in use for a long while and i haven't really had
top mess with it so i forgot what made it tick.
 
K

Klatuu

Look in VB Editor Help for the OpenForm method. You can use the Data Mode
argument. Which constant you use will depend on what you want the behaviour
of the form to be.
 
Top