×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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

group by group formula

group by group formula

group by group formula

(OP)
I have a report that captures data rows from a table that has codes that have the same first 2 characters but different last 2 characters for distinction.  I'd like my report to group by like codes (first 2 characters).  My report is already grouped on this table/field so the printing/sorting is correct  but I'd like each "like group" to print per page.  I figured I'd have to create a formula in group footer when selecting New Page After.  Can anyone help?

Thanks in advance.

RE: group by group formula

Can you provide an example of data showing what you want compared to what you currently have?

RE: group by group formula

(OP)
CODE    DESCRIPTION
bhee    deitghe
(new page)
bhii    deitheieww
(new page)
bhio    deiehtesaxc
(new page)
cmed    ioeiowo
(new page)
cmio    ieleie

I'd like to get the "bh"'s on one page and "cm"'s on another and so forth...  my grouping is on the code field but if the code is different it prints on another page.

RE: group by group formula

You could create another group on the following formula:

left({table.code},2)

Then go to report->change group expert and use the arrow key to make this the higher order group.  You could then format the "new page after" on this group, but suppress the header and footer for display purposes.

-LB

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