Hi, I have 28 numeric fields. I wish to count the amount of null fields for each row in the details section.
I can't for the life of me get the formula to work - and my knowledge is sketchy. This is what I've got so far:
// Total Categories Containing Scores
numberVar CategoryCount := 0;
if isnull({@SS01 Number}) = false then CategoryCount := CategoryCount + 1;
if isnull({@SS02 Number}) = false then CategoryCount := CategoryCount + 1;
if isnull({@SS03 Number}) = false then CategoryCount := CategoryCount + 1;
//etc...
// Return Category Count
Categories;
- Currently, I get an error saying that 'Categories;' does not seem to be part of the formula.
Where am I going wrong?!
Thanks, Mav3000
I can't for the life of me get the formula to work - and my knowledge is sketchy. This is what I've got so far:
// Total Categories Containing Scores
numberVar CategoryCount := 0;
if isnull({@SS01 Number}) = false then CategoryCount := CategoryCount + 1;
if isnull({@SS02 Number}) = false then CategoryCount := CategoryCount + 1;
if isnull({@SS03 Number}) = false then CategoryCount := CategoryCount + 1;
//etc...
// Return Category Count
Categories;
- Currently, I get an error saying that 'Categories;' does not seem to be part of the formula.
Where am I going wrong?!
Thanks, Mav3000