CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Maths: How to divide records in codecharge

Print topic Send  topic

Author Message
Deeem

Posts: 1
Posted: 07/28/2005, 6:05 AM

Hi,
How can I divide a field(no_of_mins) by 60, to get the number hours.

Would it have to be in a custom code event or something?

A really simple question im sure, but im still roughly getting my head around codecharge.

Thanks

Damon

_________________
Its never that simple in codecharge is it?
View profile  Send private message
donb

Posts: 52
Posted: 07/28/2005, 6:17 PM

Use "Database Expression" as the control source type. Then you can put in something like

fieldname/60

and it will do the math automatically
_________________
http://www.gotodon.com/ccbth
View profile  Send private message
Damon
Posted: 07/29/2005, 7:28 AM

Thanks alot for that!!

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.