Reset All Check boxes

  • Thread starter Thread starter weircolin
  • Start date Start date
W

weircolin

Hi there

I have a form where I have a subform view in it showing a table. One
of the columns on the table has a checkbox. Is there anyway I can
reset all the checkboxes in a particular column so they are all "No" by
clicking a button?

Thanks

Colin
 
Ideal, thanks!!

Is there anyway you could tell me how I could get a message coming up
to say something like.

"This will reset column, are you sure?"

Then Yes and No buttons?

Thanks again,

Colin
 
Sure.

If Msgbox("This will reset column. Are you sure?", vbYesNo) = vbyes
Then
Docmd.RunSql "Update YourTableName Set YourColumnName = No;"
End If
 
Thanks Jeff

After I had posted that I noticed that Access asks a question similar
anyway.

Cheers

Colin
 

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

Back
Top