Check Box's

D

Dangermouse

Hi, I'm new to coding. and need some guidance.

What I want to do if on a form, I have four check box's A / B / C / D

If I select check box A, then check box's B / C and D are selected as well,
checked

Hope this makes sense

Dm
 
R

Rick A.B.

Hi, I'm new to coding. and need some guidance.

What I want to do if on a form, I have four check box's A / B / C / D

If I select check box A, then check box's B / C and D are selected as well,
checked

Hope this makes sense

Dm

Dm
If you want ckbox's B, C & D to be checked when you check ckbox A then
put something like this in the AfterUpdate event of ckbox A

If Me.ckboxA = True Then
Me.ckboxB = -1
Me.ckboxC = -1
Me.ckboxD = -1
End If

of course use your defined ckbox names in place of ckbox.

Hope that helps
Rick
 
D

Dangermouse

Rick A.B. said:
Dm
If you want ckbox's B, C & D to be checked when you check ckbox A then
put something like this in the AfterUpdate event of ckbox A

If Me.ckboxA = True Then
Me.ckboxB = -1
Me.ckboxC = -1
Me.ckboxD = -1
End If

of course use your defined ckbox names in place of ckbox.

Hope that helps
Rick

Thanks Rick, brilliant, cant thankyou enough>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top