Your Main Formula is placed in a section after the section containing the subreport??? It should be... If it isn't place the Main formula in a new subsection following the one containing the subreport.
Also...I don't like this kind of construction in this formula
in ['10' to '14', '20' to '24', '30' to '32', ...
You mean in ['10','11','12','13','14','20','21','22','23','24','30','31','32',...
I don't think Crystal predicts the fillers properly when they are strings. So write them out in full...considering the size of the array that is not too much of a chore.
This array should be declared in the report header and used by the array variable name...it is easier to understand your formula then.
A formula cannot simply be a declared array so end the formula with " " like this
//@Init
WhilePrintingRecords;
StringVar Array x := [ "","","".....missing data.....,"",""];
"" ""; //this makes the formula legal
Jim Broadbent
The quality of the answer is directly proportional to the quality of the problem statement!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.