Counting by groups
Hello
I would like to define a variable in order to count the number of groups
that appears in the report.
I mean, if I have 10 diferents groups I would like to have a variable with a
value of 10.
I did with a calculation like this : value := value + 1;
But in this variable I get the number of the lines and not 1 for each group.
I have change the timming but I am not able to get the correct value.
Can anyone help me?.
Jesus Mendez
Resilux Iberica
Spain.
I would like to define a variable in order to count the number of groups
that appears in the report.
I mean, if I have 10 diferents groups I would like to have a variable with a
value of 10.
I did with a calculation like this : value := value + 1;
But in this variable I get the number of the lines and not 1 for each group.
I have change the timming but I am not able to get the correct value.
Can anyone help me?.
Jesus Mendez
Resilux Iberica
Spain.
This discussion has been closed.
Comments
In my testing, placing a TppVariable in the summary band of my report with
the timing set to calculate on Group Start of the group I was trying to
count gave the correct result. Where are you trying to place this value?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I left the variable in the group footer. And now I placed the variable in
the summary band but I do not get the correct result. I get always 0.
Can you send me an example of how to do it?
Regards
Below is the example I created...
http://www.digital-metaphors.com/tips/CountGroups.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com