Goto the design view of your form. Right click on a checkbox (don't
right click the label of the checkbox - you have to right click right on
the actual checkbox). When the dropdown menu comes up select "Build".
This brings you to a code window to the Click Event of that checkbox -
say check0_Click(). It will look something like this:
Private Sub Check0_Click()
End Sub
It is inside of this sub that you can write some code like this:
Private Sub Check0_Click()
If Check0.Value = -1 Then Text0 = "Check0"
If Check0.Value <> -1 Then Text6 = ""
End Sub
If you have a check mark in the checkbox then the string "Check0" will
get written to a control called Text0 - assuming you have a textbox
control called Text0. If the check mark is removed (Check0.Value = 0)
then the text from Text0 will also be removed per this code instruction
for example. You can make it do anything you want. If you don't want
to remove the text from Text0 if Check0 is unchecked then just remove
the line
If Check0.Value <> -1 Then Text6 = ""
HTH
Rich
*** Sent via Developersdex
http://www.developersdex.com ***