Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clarion > Re: Help with t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 9066 of 9117
Post > Topic >>

Re: Help with totaling the sum of time ("hh:mm) in a re****t ...

by sandinzz@[EMAIL PROTECTED] Mar 28, 2008 at 03:14 AM

Hi
1. Do you save "Time" variable in Long data type?
2. You must convert sum of hours/minutes (Long type) in your re****t,
to string. For example: for three digit hours: hhh:mm
So, make conversion by dividing SumOfMinutes by 80 minutes (/ and %
for "trailing" minutes) to get HoursCount and MinutesCount - it's only
math.
Then make a string:
SumString = Format(HoursCount,@[EMAIL PROTECTED]
) & ':' & Format(MinutesCount,@[EMAIL PROTECTED]
)
or something like that.

Zoran
 




 3 Posts in Topic:
Help with totaling the sum of time ("hh:mm) in a report ...
magne@[EMAIL PROTECTED]   2008-03-27 12:26:27 
Re: Help with totaling the sum of time ("hh:mm) in a report ...
"Earl R Coker"   2008-03-27 16:29:53 
Re: Help with totaling the sum of time ("hh:mm) in a report ...
sandinzz@[EMAIL PROTECTED  2008-03-28 03:14:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 2:02:21 CDT 2008.