Friday, October 12, 2007

How to create the gender with checkbox

How to create the gender with checkbox

To create the gender with checkbox

Step 1

If you would like to create the gender with checkbox, first, double click the CheckBox1 and it will display a Code Explorer Window. Next, you need to insert the programming as followed;

  1. dbcheckbox1.Checked:=not checkbox1.Checked;
  2. table1.Edit;
  3. dbcheckbox1.Field.AsVariant:=dbcheckbox1.Checked;

No comments: