Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Summary Band Giving me FITS
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00255891
Message ID:
00255905
Views:
13
See if this will work for you. I added a variable that the report has scope of, could be from the calling method or the init of the report de. This variable holds the disclaimer test. Add a report group of EOF() to the report. In the
eof()group footer place the variable with a stretch. Mark the stuff in your page header as print only when ! eof() and remove line if blank.

If this is unclear I'll email you my sample.

HTH
Jeff

>I love VFP report writer. I felt I could do anything until now.....
>
>We have a disclaimer that prints out with certain reports. We had it as a separate report, but we had no idea if the user clicked the print button from a preview and couldn't force a disclaimer out with it. I thought I had the solution by using the summary band to just print the disclaimer evertime. This is good in theory.....
>
>First problem: VFP prints the page header on the Summary Page!!!! Why???????? The header of this report happens to be about 1/3 of the page and would take up to much room. Our disclaimer is a full page.
>
>My solution: Check page number on every single object I set the Print When to not print on the summary and remove line if blank. YEAH! I thought I had the thing whipped and loved the report writer again. until.......
>
>Second problem: When I run the report it say's that the summary band is larger than a page. LIAR!! Actually I think VFP added the size of the page header to the size of the summary band even though the page header on the last page doesn't spit anything out because of all my Print Whens. Now what????
>
>I did find out that the title band prints without the page header, but the summary band does. At least it's consistent!! I suppose I could print out the diclaimer in the title band, but who wants to see the disclaimer as the first page in a print preview!!
>
>help......

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Reply
Map
View

Click here to load this message in the networking platform