Noreene Patrick
Registered User.
- Local time
- Today, 13:21
- Joined
- Jul 18, 2002
- Messages
- 223
I have a query that I want to figure efficiency on employees based on time logged in and actual minutes worked.
My query pulls in data from 2 other queries where I have summed by ID the (1) minutes worked and the (2) minutes logged in.
So, the new query has as its fields, employeeid, sumoftotaltimelogged and sumofacutalminutes. My calculation field looks like this:
Efficiency: format([sumofactualminutes]\[sumoftotaltimelogged], "percent")
It returns a value but it is rounded off to 200% or 100%. I have deleted everything in my tables (trial data) and changed every number field to single, did the same thing and changed to double and it still either rounds it to the nearest hundred or gives me 0%.
I am tired of trying to figure this out on my own!!!!
Could it have something to do with the way I have my field set in the login and logout times? They are set to long date to capture hours and minutes. Then the query does a datedif("n", [dateloggedin], [dateloggedout])?
Thanks for any help.
Noreene
My query pulls in data from 2 other queries where I have summed by ID the (1) minutes worked and the (2) minutes logged in.
So, the new query has as its fields, employeeid, sumoftotaltimelogged and sumofacutalminutes. My calculation field looks like this:
Efficiency: format([sumofactualminutes]\[sumoftotaltimelogged], "percent")
It returns a value but it is rounded off to 200% or 100%. I have deleted everything in my tables (trial data) and changed every number field to single, did the same thing and changed to double and it still either rounds it to the nearest hundred or gives me 0%.
I am tired of trying to figure this out on my own!!!!
Could it have something to do with the way I have my field set in the login and logout times? They are set to long date to capture hours and minutes. Then the query does a datedif("n", [dateloggedin], [dateloggedout])?
Thanks for any help.
Noreene