hi lockwelle - thanks for your response.
I think I had better explain in more detail.
Ok so this is how I currently have things setup
My data is grouped by Customer and then Fund category.
I have three formulas,
In Group header 1 -
Initiate Array
Shared numberVar x:=1;
In Group Header 2 –
load Array
Shared numberVar x;
Shared StringVar array fund_Category;
if not({GfFnds_16Fn.GfFnds_16Fn_Fund_category} in
fund_Category ) then //checks to see if
already in array
(
x := x + 1;
//This is where the values are added to the array
redim preserve
fund_Category[x];
fund_Category[x]
:= {GfFnds_16Fn.GfFnds_16Fn_Fund_category};
);
fund_Category[x];
In Group Footer 1 –
Print array
Shared stringVar array fund_Category;
Shared Stringvar all_Categories;
all_Categories := Join (fund_Category, ","); //
Use Join function to print array on one line
mid(all_Categories,2);
From here I can determine if a donor is one of the three
categories with a simple this then else formula, but I can’t sum (total) how
many donors are in each category.
This report is in the early stages so I am more than happy to scrap what's been done so far and start again if it will work.
Thanks in advance