I am using check boxes as options and I want my program to look at the status of the check box to see if the user wants a part of the program used.

for example the program searches three data bases for information.

Database1
Database2
Database3

So I have check boxes

Checkbox1
Checkbox2
Checkbox3

And I only want to search the database when the checkbox is checked.

any ideas??