CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 calculate percentage of parents

Print topic Send  topic

Author Message
ReneS

Posts: 225
Posted: 04/02/2007, 10:39 AM

Hi All,

I am trying to calculate the percentage of parents at the end of the tree..

What I mean is:

child has 2 parents, these parents (A and B) have parents C and D and E and F. What I'm trying to calculate is the percentage that the child has from parent C,D,E,F (in this case 25%) I don't know how "deep" the tree is in advance, it can be 2 but also 8. Also it is possible that only 1 parent is known at the end of branch A or B and that branch A is 4 deep and B 8 deep.

Any pointers etc. will be very welcome!

Thanks,

Rene


View profile  Send private message

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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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