Hey Richard, I am using a "Approval Estimate" Form to manual approval some Estimates that not Approved yet. What is the best way the set or save the "Approval Date" value in the Estimate Table from the Form?
Dan Jackson 2 months ago
Add a date/time field to your table (Remember to name it something other than date' something like approvaldate)
Add the field on to your form
In the properties for the text box on your form, go to Default Value and set it to
=Date (For Date Only)
Or
=Now (For Date and Time)
For everything you could possibly want to know regarding date time : Access DateTime Seminar
James Hopkins 2 months ago
Dan I got that, I created a "Approval Estimate" Pop-up Form to manual approval some Estimates. I just wondering the best way the sent back the "Approval Date" value in the Estimate Table from the Form?
Scott Axton 2 months ago
Is your Approval form bound to the table you are wanting to update?
Make sure the Approval Date field on the form is bound to the date field in the table.
Enter the date in the form and it's entered in the table once you save / close the form.
Kevin Yip 2 months ago
In the past when I was in this situation, I always used two fields: a Yes/No field for approval or denial, and a "Decision_Date" field for storing the date (and time) when the approval or denial occurred. You wouldn't want just a blank date to indicate denial. A blank date could mean you haven't look at the record and made a decision to approve or deny yet. When you actually click the Yes/No checkbox on the form to approve or deny, that is when your decision is made, and that is the date and time you want to store. At least that was what I wanted. Your needs may be different. If you go this route, then you need create a Click event for that checkbox. The event will run code that automatically puts the date and time into your date field. When you look at your table, all possible scenarios will be clear to you: blank dates mean decisions pending, dates with checkboxes checked mean approvals on those dates, and dates with checkboxes unchecked mean denials on those dates.
James Hopkins 2 months ago
Thank you guys for your time and help. I got it, your suggestions worked.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.