Hi guys and girls,
I use CR 8.5 prof
my formula is: (standing in group #2)
------
numbervar week1;
if GroupName ({@days old}) = "week1" then week1 := DistinctCount ({database.field}, {@days old});
------
I have a variable "week1" and I use "week1" in group #2 and I call the variable in group #1. It works good WHEN I have only 1 time a group #1.
Now I have 5 times Group #1 in my report. So I use the formula 5 times. It works perfect expect when I have no data in group 2. When I have no data in group #2 and the report does call the variable, it shows the amount of the group #2 before.
I hope it is clear, when not, please aske what isnt clear, so I can tell you.
Greetz,
Henky
I use CR 8.5 prof
my formula is: (standing in group #2)
------
numbervar week1;
if GroupName ({@days old}) = "week1" then week1 := DistinctCount ({database.field}, {@days old});
------
I have a variable "week1" and I use "week1" in group #2 and I call the variable in group #1. It works good WHEN I have only 1 time a group #1.
Now I have 5 times Group #1 in my report. So I use the formula 5 times. It works perfect expect when I have no data in group 2. When I have no data in group #2 and the report does call the variable, it shows the amount of the group #2 before.
I hope it is clear, when not, please aske what isnt clear, so I can tell you.
Greetz,
Henky