Good morning!
I am a pretty new access user and, while I am computer savvy, I'm running into some issues with coding. I have a button on my form that I have setup so that when the person entering information it "saves it" and clears the form. Really its really just a refresh code so that the form appears blank and ready for the next entry (shown below). What I'm wondering is:
1) Can I program this event code to do TWO things - refresh the page, and then update the status of the form to a column in the table?
Example: When I click this button, it will add the word "Pending" to the Status column of my table and refresh/save the form as new. I want it to do both things. My goal is to have a couple different buttons on my form that will generate different statuses, depending on the stage of production (Pending, In Progress, Verified, Complete).
Right now, my event procedure code is: DoCmd.GoToRecord acDataForm, "DatabaseA", acNewRec
What do I need to do to have it do both of those features. Can I even code one button to do two things or is that asking too much of access?
Also, part 2 of this question, If this button thing can work, is there a way so that I can create a "status box" on the form that reflects what the column currently says? My thought process is, if a record comes up and shows its "in progress" the user will know someone is working on it vs. "pending" where it means something needs to be done, verified meaning it has to undergo review by a supervisor, and complete meaning everything is done. It sounds more complicated than it is.
If anyone has any other suggestions, I'm open for ideas, but this would be the ideal way for this form to function.
Thanks a bunch!