ChristianWhite
Programmer
In Crystal 10, I'm trying to print some detail headings in the detail lines, since having all the report's headings in the page header would be a traffic jam at page top. I'm trying to print detail headings only at their first occurrence on each page.
In the page header, I set the variable true at each new page:
Global booleanvar blnPrintHeading:=true;
The suppress formula in details a (detail headings) will refer to blnPrintHeading to determine when to print.
At each detail line b (amounts), I'll set the variable false:
Global booleanvar blnPrintHeading:= false;
Problem, though: I can't declare the variable in the page header and set it true, then also reference it from a detail line formula and set it false. Whenever I change one instance of the variable, the other changes to match it. What am I missing to make this simple arrangement work?
In the page header, I set the variable true at each new page:
Global booleanvar blnPrintHeading:=true;
The suppress formula in details a (detail headings) will refer to blnPrintHeading to determine when to print.
At each detail line b (amounts), I'll set the variable false:
Global booleanvar blnPrintHeading:= false;
Problem, though: I can't declare the variable in the page header and set it true, then also reference it from a detail line formula and set it false. Whenever I change one instance of the variable, the other changes to match it. What am I missing to make this simple arrangement work?