Page break based on value of sort field

T

T.Yaya

I have an existing report that sorts on OR suite. OR1, OR2, OR3.. etc.
We have added room for procedures, PROC1, PROC2, etc. I was hoping to
modify the existing report (rather than have 2) that would send a page break
when the room name changed from "O" something to "P"something (O*, P*).

Possible?
Thanks, T Ya
 
M

Marshall Barton

T.Yaya said:
I have an existing report that sorts on OR suite. OR1, OR2, OR3.. etc.
We have added room for procedures, PROC1, PROC2, etc. I was hoping to
modify the existing report (rather than have 2) that would send a page break
when the room name changed from "O" something to "P"something (O*, P*).


Use the Sorting and Grouping winsow (View menu) to create a
group on the expression =Left(suite, 1). Select Yes for
the Group Header property.

Add a text box to the new group header section and set its
control source to the same expression. Set the section's
ForceNewPage property to Before Section.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top