Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

need group header on each page

need group header on each page

need group header on each page

I have a report - Analysis Results - that has 3 groups
Report header
Page header = Data_Point Norm_Type Test_Op_No
gh1 - TEST_OP_NO xxxx xxxxxxx xxxxxxx (these are all Attributes)
gh2- DATA_POINT (suppressed)
gh3- RESULT_NO = Result_No Outer_Max Outer_Min
detail xxxx xxxx xxxx (these are NOT Attributes)
xxxx xxxx xxxxx

In gh3 (header) I have a formula, grpcnt:
NumberVar GrpCnt;
then GrpCnt :=1
if {ANALYSIS_RESULTS.RESULT_NO} <> previous ({ANALYSIS_RESULTS.RESULT_NO}) then grpcnt := 1 + grpcnt

In gf3 (footer) I have a formula, pagereset
NumberVar GrpCnt;
then GrpCnt := 1
else GrpCnt := 0;

In the Section Expert for gh3 header, I have Suppress if {ANALYSIS_RESULTS.CONTROL_CHART_TYPE_DB} = 'ATTRIBUTE'
or {@grpcnt}>0

This all works fine – if I remove the Section Expert code, I would get the gh3 header text for every value.
My problem is if I can have alot of lines that extend onto another page and the user would like the gh3 text to print on the new page.
group 3 has ‘Repeat Group Header On Each Page’ but this doesn’t appear to work.
I have no way of knowing how many records will be in this section or where they may appear relative to the records in group 1.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close