Sari Posted November 10, 2005 Posted November 10, 2005 I have 3 time fields: Time_Start, Time_Finish and Time_Duration. I want to be able to: 1. Automatically return the difference between Time_Start and Time_Finish into Time_Duration. 2. The sum of Time_Duration. Please, can anybody tell me the best way of doing this? Should Time_Duration be a Calculated Field giving a time result or a Time Field with an auto enter calculation? What is the difference between the 2 ways of doing it? Many thanks in advance.
comment Posted November 10, 2005 Posted November 10, 2005 (edited) Time_Duration should be a calculation field (result is Time)= Time_Finish - Time_Start This needs some adjustment if it's possible to finish after midnight. You can sum time fields (or calculation fiels set to result of Time) the same way as number fields. Time is just a number (the number of seconds elapsed since midnight). Use auto-enter calculation when: - you want the user to be able to override the result, or - the calculation itself cannot be stored, and you need the field to be indexed. Edited November 10, 2005 by Guest
Recommended Posts
This topic is 7049 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now