L
LH
I've got 3 fields that I need to represent each as Yes, No
or Neither. This is to make sure the user either selects
the required "Yes" or "No" or hasn't made a selection.
The database fields are Bit (SqlServer) datatypes and
nulls are allowed. I created 3 option groups, one group
for each field. The Option Group "Yes" value is set to -1
and the "No" value is set to 0.
When the screen is first dislayed, neither Yes or No is
selected and each of the buttons are shown in a greyed
state which is what I want when the database value is
Null. However, as soon as any other field on this form is
modified or a selection is made to any one of the Option
groups all the option groups become un-greyed and the "No"
Option is shown as selected. Even though the database
value remains Null for these fields, it appears to the
user that the "No" option is selected and that he is not
required to make a choice, and as a matter of fact,
because the No appears as selected, "No" cannot be
selected.
Is this the normal behavior for Option Groups? Is there a
way to get the functionality I need? Any halp would be
appreciated. Thanks!
or Neither. This is to make sure the user either selects
the required "Yes" or "No" or hasn't made a selection.
The database fields are Bit (SqlServer) datatypes and
nulls are allowed. I created 3 option groups, one group
for each field. The Option Group "Yes" value is set to -1
and the "No" value is set to 0.
When the screen is first dislayed, neither Yes or No is
selected and each of the buttons are shown in a greyed
state which is what I want when the database value is
Null. However, as soon as any other field on this form is
modified or a selection is made to any one of the Option
groups all the option groups become un-greyed and the "No"
Option is shown as selected. Even though the database
value remains Null for these fields, it appears to the
user that the "No" option is selected and that he is not
required to make a choice, and as a matter of fact,
because the No appears as selected, "No" cannot be
selected.
Is this the normal behavior for Option Groups? Is there a
way to get the functionality I need? Any halp would be
appreciated. Thanks!