So the end user clicks on the "Approval" button, and the current date is assigned approved date?
Have you considered using an event procedure instead?
In the properties field for the command button, select the "Event" window, select "On Click", select [Event Procedure] from the list, and then select the "..." icon to the right.
Code would be...
Code:
Me.YourApprovalDateField = DATE()
(DATE command is returns the system date, NOW returns date + time)
I would use VB for this except I have a lot of other actions in the macro that occur onclick, and I don't really want to convert it to VB (although that might be the answer in this case). And I do want date and time.
Should I convert to VB, or can this be done in the macro?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.