Detect the first page of group

G

Guest

Hi,
I se "Force New Page" = "After Section" . So that each group will be
started from a new page.

I want display something on each first page of every group. How to detect
that current page is the first page of a group?

Thanks

Tran Hong Quang
 
J

John Spencer

Add a control to the detail level
NewControl
Name: CountItems
COntrol Source: =1
Running Sum: Over Group

In the format event of the section header, test CountItems to see if its value
is 1. If it is then do something to show your control, message, etc.
 
M

Marshall Barton

Tran said:
I se "Force New Page" = "After Section" . So that each group will be
started from a new page.

I want display something on each first page of every group. How to detect
that current page is the first page of a group?


Either you've been too vague or the simple answer is that,
since you've used ForceNewPage, the group header section
will appear on the first page of the group and you can
display whatever in that 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