Giving a value to the check box

  • Thread starter Thread starter Navya
  • Start date Start date
N

Navya

I created a form which has multiple check box. Now when i select a check box
i wanted the lable value to get entered in the table. what code should i give
and where should i give to get this done.
 
Normally, a CheckBox control would be used to enter data into a Yes/No (or
integer field 0, -1). And you would name the Field name in the table would
be similar to the label on your form.

If you create an unbound checkbox, then every time you save the record
(Form_BeforeUpdate), you have to write specific code to update the text field
in the table for each of your checkboxes. You would also need to have
similar code in the Form_Current event to interpret the value in the text
field and determine whether to check or uncheck your checkbox. This is a lot
of extraneous effort.
 
Search on 'Option Groups' as I think that is what you want to use instead of
the multiple check boxes.
 
Karl Dewey if i use option group i can select only one box but i have
multiple boxes to select in a group. so now can i change that option in a
option group so that i can select multiple boxes
 
Karl Dewey if i use option group i can select only one box among the group
but i have multiple boxes to select. Is there anything that i can cange that
to select multiple boxes in option group.
 
Back
Top