Lbass
I know you fixed the above thread using a true and a false formula field. Could you help me with a similar issue?
I currently have two groups:
Group 1 – ID
Group 2 – Code
When the user runs the report they will only see the report header, page header, group footer 1 section and the report footer section. All others are hidden or suppressed.
I then want to drill down into the group footer 1 information whilst keeping the same page header information that the user sees when the report is first previewed.
However when I then attempt to drill down on the group footer 2 section and display the details section I want a different page header section to be displayed. (I assume I will have to have a page header b section).
In the above thread you had the following formulas:
//{@false}:
whileprintingrecords;
booleanvar flag := false;
//{@true}:
whileprintingrecords;
booleanvar flag := true;
and you said to place {@false} in the report header AND in a section after the subreport, e.g., if the subreport is in GF1a, then place {@false} in GF1b. Place true in the main report section where your subreport is located, e.g., GF1a in this example. Then go to the main report section expert->page header->suppress->x+2 and enter:
whileprintingrecords;
booleanvar flag;
flag = true; //note no colon
Could I use something similar? Where would I place the {@false} and {@true} fields and what would I have in the page header a and b sections?
I know you fixed the above thread using a true and a false formula field. Could you help me with a similar issue?
I currently have two groups:
Group 1 – ID
Group 2 – Code
When the user runs the report they will only see the report header, page header, group footer 1 section and the report footer section. All others are hidden or suppressed.
I then want to drill down into the group footer 1 information whilst keeping the same page header information that the user sees when the report is first previewed.
However when I then attempt to drill down on the group footer 2 section and display the details section I want a different page header section to be displayed. (I assume I will have to have a page header b section).
In the above thread you had the following formulas:
//{@false}:
whileprintingrecords;
booleanvar flag := false;
//{@true}:
whileprintingrecords;
booleanvar flag := true;
and you said to place {@false} in the report header AND in a section after the subreport, e.g., if the subreport is in GF1a, then place {@false} in GF1b. Place true in the main report section where your subreport is located, e.g., GF1a in this example. Then go to the main report section expert->page header->suppress->x+2 and enter:
whileprintingrecords;
booleanvar flag;
flag = true; //note no colon
Could I use something similar? Where would I place the {@false} and {@true} fields and what would I have in the page header a and b sections?