Save record when user hits processing button ACCESS 2003

I have checkboxes on a form that when checked, the record should be part of the processing.  However, if the user checks the box and then immediately hits the processing button, the record is not recognized as being checked, as though the information has not been saved.  So, if the user checks the box, but does not click on another field or place on the form to save the changes, how can I be sure the checked box is recorded when the user hits the processing button?  This is an ACCESS 2003 form.

Sandra
ssmith94015Asked:
Who is Participating?
 
Rey Obrero (Capricorn1)Connect With a Mentor Commented:
try placing this line at the top of the Click event of the processing button

private sub btn_click()
me.dirty=false
0
 
pdebaetsConnect With a Mentor Commented:
In the Processing Button OnClick event procedure put the following code before any other code:

Docmd.runcommand accmdSaveRecord
0
 
ssmith94015Author Commented:
I don't know why, but actually a combination of both worked.  Thank you.

Sandra
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.