Jarvis Posted October 2, 2007 Posted October 2, 2007 I have a simple question that is not so simple to describe. I have a database that tracks production for my cabinetshop. This database has a calculation field (TOTAL MINUTES) that subtracts one timestamp from another to tell me how long things take to build. I have recently added a QUANTITY field and would like to to divide total minutes by quantity in order to produce MINUTES PER ITEM. TOTAL MINUTES is a timefield. Whenever I divide this timefield by a numeral the result shows up as a (?) question mark. Can anybody advise me how format one of these fields to get to a decimal result? Thanks for any insight, Jarvis
David Jondreau Posted October 2, 2007 Posted October 2, 2007 Make TOTAL MINUTES a number field. It doesn't represent a time, it represents a number of minutes.
aldipalo Posted October 2, 2007 Posted October 2, 2007 Minutes Per Item should be a calculated field. MinutesperItem = Total Minutes/Quantity Set calculation to a Time field. That should give you average amount of time in hr/min/ss.
Jarvis Posted October 3, 2007 Author Posted October 3, 2007 Thanks guys. I was able to get it to work with the a calculation field. [(stop time - start time)/60] ÷ Qty Start time & stop time are timestamps. The calculation result was set to display as TIME.
Recommended Posts
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