I have a field named "code" with drop-down choices of "active" or "inactive". I also have date fields for "date down" and "Picked up". I need the total number of days out-of-service calulated and entered in the field named "days o/s". Obviously I need to calculate from the "date down" to today's date as long as the record is "active". However, when "code" becomes "inactive", i need to stop the clock and calculate from the "date down" to "picked up". If someone has the formula for this, please advise.