global change within form

M

macamarr

Hello,
My form has 10 records and what I am attempting to do is
make a global change using a button or what ever it takes
to make this work. Below is the code I use to clear all
checkboxes on the form. My problem is that I have to do
this for each record. Is there a way I can do this with
one click for every record on the form? Thanks!

Private Sub cmdClear_Click()
S.Value = False
M.Value = False
T.Value = False
W.Value = False
R.Value = False
F.Value = False
Sa.Value = False
End Sub
 
S

Steve Schapel

Macamarr,

Probably an Update Query will be the simplest approach.

- Steve Schapel, Microsoft Access MVP
 

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