G
|
giusepe9 3/28/2012 |
http://www.asprunner.com/forums/topic/17907-calculation-from-a-column-total-on-report/ |
S
|
Sfereday author 3/28/2012 |
http://www.asprunner.com/forums/topic/17907-calculation-from-a-column-total-on-report/
|
S
|
Sfereday author 3/28/2012 |
http://www.asprunner.com/forums/topic/17907-calculation-from-a-column-total-on-report/ --- the problem occurs when some field groupings done this method is not applied correctly group by ..
|
S
|
Sfereday author 3/28/2012 |
When I do what is listed at the other fix I get a division by 0 event. My code looks like this $sum_1 = $xt->getvar("Global_totalNumRep_sum"); $sum_2 = $xt->getvar("Global_totalNumImage_sum"); $division = $sum_1 / $sum_2; $xt->assign("division",$division);
|
S
|
Sfereday author 4/5/2012 |
I'm going a completely different route here. I can get this to kind of work, but I am getting stuck when I try to execute. I can get the information with a plain old SQL Query. My query looks like this: |
S
|
Sfereday author 4/5/2012 |
So I figured it out. Here is my sql code that worked. |