Calculation valid from specify time (1 Viewer)

QuChe Yvonne

Registered User.
Local time
Today, 10:51
Joined
Oct 17, 2012
Messages
11
I wish to create a query : Only calculation OT start from 6:00pm, but it not working with below. Please advice. tks.
OT : IIf([Production Details]![End Time]>18,0,Round(([Production Details]![End Time]-[Production Details]![End Work])*24,2))
 

pr2-eugin

Super Moderator
Local time
Today, 18:51
Joined
Nov 30, 2011
Messages
8,494
What is the Data type of [Production Details]![End Time] is it Date/Time then make sure that it is surrounded by ## also use the proper format.. Could you show one sample data, as it is in the table and what is the result that you wish to see.?? Without that it is a bit hard to give a right answer..
 

QuChe Yvonne

Registered User.
Local time
Today, 10:51
Joined
Oct 17, 2012
Messages
11
Hi Paul Eugin,

I have attached the sample. I can the calculation OT started from 6:00pm. For those didn't overtime show 0.

Please advice.

Thanks
Yvonne
 

Attachments

  • Sample.accdb
    448 KB · Views: 74

pr2-eugin

Super Moderator
Local time
Today, 18:51
Joined
Nov 30, 2011
Messages
8,494
There is no Query in the DB, there is only one table.. Show us what you have done so far, atleast show sample data result.. so that we can start guiding you how to get there..
 

Users who are viewing this thread

Top Bottom