CheckBox in PopUp form grayed out

R

rbm

I have a PopUp form (popup = yes, modal = no) that consists of a form and
subform. The subform is continuous and lists a group of people and certain
attributes. One of those attributes is displayed as a Check Box. When the
PopUp form is opened, the check box for everone's record is grayed out. If I
scroll down the list of people, the check boxes take on their correct
true/false appearance, but when I close and reopen the form, they go back to
gray.

This does not happen when I make the form popup = no (when I open the form,
all the check boxes are correct), and is unaffected by the setting of the
modal property. This form really need to be a popup form.

I have tried setting the focus to the subform,
requerying/recalulating/refreshing and repainting, but can't seem to figure
it out. Anyone run into this before?

Thanks for any suggestions.
 
S

Stuart McCall

rbm said:
I have a PopUp form (popup = yes, modal = no) that consists of a form and
subform. The subform is continuous and lists a group of people and
certain
attributes. One of those attributes is displayed as a Check Box. When
the
PopUp form is opened, the check box for everone's record is grayed out.
If I
scroll down the list of people, the check boxes take on their correct
true/false appearance, but when I close and reopen the form, they go back
to
gray.

This does not happen when I make the form popup = no (when I open the
form,
all the check boxes are correct), and is unaffected by the setting of the
modal property. This form really need to be a popup form.

I have tried setting the focus to the subform,
requerying/recalulating/refreshing and repainting, but can't seem to
figure
it out. Anyone run into this before?

Thanks for any suggestions.

Set the DefaultValue property of the checkbox to False. When a checkbox
shows up greyed, it means the control currently contains Null.
 
R

rbm

Thanks for the reply, but the control actually contains a value (default is
"true"). With the form open, if I scroll down the list, the checkboxes that
are "revealed" as I go down the list do not appear grayed out; if I go to the
bottom of the list and back to the first record, all check boxes are
displayed properly.

It seems to not want to populate the value (wants to leave it null) until
the record goes off the screen and reappears.

Bob McCormack
 
R

Ron2006

For that Default value, is it the default in the table definition or
in the form definition of the control. I believe there will be a
difference. Are you saying that it is grayed out even when there is a
check (true value) in the underlying field?
 
R

rbm

That is correct. It is grayed out even when there is a true value in the
underlying field. I think it has something to do with the PopUp=Yes value.
When I open the same form with a PopUp=No setting, the check boxes appear
correctly. Even with the PopUp-Yes setting, if I scroll down or up in the
subform (a continuous form), the check boxes show correctly as they come
into or outof the "field of view".
 

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