access 2007, vba checkbox to delete multiple records

how do i add to access table checkbox(and use datasheet or table) to delete multiple records
ahashashAsked:
Who is Participating?
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Connect With a Mentor Infotrakker SoftwareCommented:
As an example, if your checkbox is bound to a field named 'ckDelete':

Currentproject.Connection.Execute "DELETE * FROM YourTable WHERE ckDelete = True"

0
 
ahashashAuthor Commented:
perfect
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.