I know how to create and expression that calculates cycle time between 2 dates.
=DateDiff("d",[OVR CAPA 411 PDR Input Table]![Date Closed],[OVR CAPA 411 PDR Input Table]![Date Issued])
However, how do I save this calculation to a field in a table? I created a field in the table called "cycle time".
Also, I would like this to be an automatic function that as soon as someone inputs the "date issued" on the form it will calculate the cycle time from the date issued to "Date()". However, once the "Date Closed" info is entered it will calculate based upon that rather than Date().
I have tried to make an update query that I could launch with a macro when the form is opened. It would calculate cycle time based upon the two dates or if "date issued" was not null and "date closed" was null it would calculate the cycle time based upon today's date.
I can't seem to get the update query to work as planned. Any guidance would be appreciated.