Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal 8.5 Main Report Heading

Status
Not open for further replies.

nickayle

MIS
Jan 11, 2006
30
BS
Hi, Good Morning. I have been trying to remove my main report page heading from the pages of my sub reports. can this be done? I have tried drill down and suppress , but it removes the heading completely. Any assistance you can give would be great. Thanks again for your help.

nickayle
 
Right-click and get section expert. You can conditionally suppress a section, though deciding the criterior is another matter. Shared variables passed back from the subreport only take effect for sections below the section that calls the subreport.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Tnak you Madawc, i will search the conditionally suppress section. passing shared variables is whole new ball park for me. will let you know.

nickayle
 
Create two formulas:

//{@false}:
whileprintingrecords;
booleanvar flag := false;

//{@true}:
whileprintingrecords;
booleanvar flag := true;

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

-LB
 
Thank You LB(good information), that partially worked. it removed the heading from my subreports + my main report. how can i get the heading on my main report back? If its not too much to ask, can you tell me exactly what each line of those functions did? If its too much to ask , then don't worry about it.
THANK YOU SOOOOOOOO MUCH!
nickayle
 
ok, thank you all. i got the heading, i removed the grouping from my main report and insert the text manually.

Thanks Again!
nic
 
I used the formula from that site that you attached. that worked beautifully. Thank you all so very much! one last thing-the numbers are displaying 1.00 rather than 1. how do i correct this?

Thanks Again,
nic
 
I got the page number corrected by right click on the page# and format field.

Thanks Again!
nic

If you have a reference article(site) on that page counter formula you can direct me to, that would be great.
 
You appear to be referencing another thread, so I'm not sure how to respond.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top