Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Save record when user hits processing button ACCESS 2003

Posted on 2013-05-23
3
Medium Priority
?
345 Views
Last Modified: 2013-05-23
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
0
Comment
Question by:ssmith94015
3 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 1000 total points
ID: 39192536
try placing this line at the top of the Click event of the processing button

private sub btn_click()
me.dirty=false
0
 
LVL 12

Assisted Solution

by:pdebaets
pdebaets earned 1000 total points
ID: 39192540
In the Processing Button OnClick event procedure put the following code before any other code:

Docmd.runcommand accmdSaveRecord
0
 

Author Closing Comment

by:ssmith94015
ID: 39192663
I don't know why, but actually a combination of both worked.  Thank you.

Sandra
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question