Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Production Time Expression

Status
Not open for further replies.

ThatNewGuy

Technical User
Jan 19, 2007
47
US
I'm trying to build a production time expression for a report. My end goal is to obtain a production time number in hours. Everyone knows how much fun it is to work with time and dates in Access.

Anyways what I have so far is this =[quantity]*[pages]/(7000)*(60) It's currently taking a quantity 1,5000 x number of pages 45 and dividing that total number by a coefficient of 7000. Which in this example would equal 9.64 hours. The problem is the .64 is really 38 minutes after you x by 60(minutes) so your total should really be 9 hrs and 38 minutes not 9.64. How do you apply the 60 minute calculation only to the decimal points so the end factor is 9.38 real time and not the 9.64.

Example, 1,500 x 45 = 67,500/7,000 = 9.64 x the .64 by 60 to adjust for time so end result is 9.38.
 
This forum is specifically for Microsoft SQL Server. You will probably get a more appropriate answer in a more timely fashion if you post your questions in the Access Forum. forum701



-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Sorry guys, my fault. I had several windows open while posting and of course I posted to the server forum...haha.

Atleast it's Friday :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top