« Bug in the 15.x Rebuild Counter proc | Main

June 16, 2010

Comments

jasbir

THanks.

Evahn

Thanks for confirming this is the only method for getting this result.

While this works well, there seems an issue if you also want the Group Header to repeat at the top of each page as then the first detail record appears twice.

I haven't figured out how to (a) have a group header repeat at the top of the page and (b) prevent a widowed group header and (c) NOT introduce all that whitespace by using either Keep Together or New Page Before...

Is there a way of suppressing the first detail record on a page if it's also the first detail record of a group? I suspect not.

Crystal Reports really needs one more option to prevent widowed group headers by just having a "Keep Together with first child"... I think that would solve it...

Going off now to submit that suggestion to Crystal :P

Evahn

Ahh kk - nevermind. Just figured that one out finally.

You need to also setup a global variable which is reset to zero in the page header and incremented by one in the detail.
Then you just extend the Suppress formula for the detail:
Onfirstrecord or {database.field} <> Previous({database.field}) or (PageRecCount=1)

(Tho I still think a button titled Keep Together with 1st Child would be a better solution hehe)

The comments to this entry are closed.

June 2010

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Blog powered by Typepad
I Love JotSpot

Key Dates

iMIS Resources

Useful Tech Stuff

  • Firefox
    A better browser than IE 6. Love the tabs.
  • GoToMyPC
    Remote Access to Your PC From Anywhere
  • LogMeIn
    Remote Access and Desktop Control Software for your PC. Has a free trial.
  • SnagIt from TechSmith
    I couldn't live without this screen capture tool (and lots more).
  • Tiny URL
    Take a long URL and make it tiny!
  • YouSendIt
    Email large files quickly, securely, and easily! AND FREE!!