×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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

how do you return a specific # of rows in a report?

how do you return a specific # of rows in a report?

how do you return a specific # of rows in a report?

(OP)
I have a report that must be printed on a pre-printed form.
The grouping is by supervisor and the detail(s) are the employees.
I need to have the report page break on a maximum number of records,
Per Supervisor.
Example:
________________
Supervisor(1)
________________
        employee1
        employee2
        employee3
        ...through
        employee19
        employee20
________________
           Page Break
________________
Supervisor(1)
________________
        employee21
        employee22
________________
            PageBreak
________________
Supervisor(2)
________________
    ...............

RE: how do you return a specific # of rows in a report?

If you go into sorting and grouping on the report and make sure you display a footer for your supervisor group. When you right click to view the properties of that footer you can select to enter a page break after / before selection.
I suspect from your report that you want to choose after selection.

That should do it.

Eradic8or

RE: how do you return a specific # of rows in a report?

(OP)
oops
thanks Eradic8or,
but that won't control the number of rows retuned
in the report.
I would need the control to pagebreak at first 20 records
and then at the supv name change
I have a supervisor(s) with:
Supv 1 @ 30 employees
 (would recieve 2 pages of 20 names, & 10 names)
Supv 2 @ 15 employees
 (would recieve 1 page of all 15 names)
Supv 3 @ 19 employees
 (would recieve 1 page of all 19 names)
 (etc)




RE: how do you return a specific # of rows in a report?

I'm not sure if this is what you're looking for x-) ......but if you make the supervisor heading an attribute of every page then adjust the bottom margin setting to miss the pre-printed form, when the report reaches the bottom margin level, it will automatically page break giving you a new page with the supervisor heading.
You could then add your supervior footer and force another page break after the selection.
It would take a bit of fiddling with margin settings but I have tried it and it works.

Eradic8or.

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