Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / February 2006

Tip: Looking for answers? Try searching our database.

Detect the first page of group

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tran Hong Quang - 04 Feb 2006 18:03 GMT
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
John Spencer - 04 Feb 2006 18:24 GMT
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.

> Hi,
>  I se "Force New Page" = "After Section" . So that each group will be
[quoted text clipped - 6 lines]
>
> Tran Hong Quang
Marshall Barton - 04 Feb 2006 19:46 GMT
> 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.

Signature

Marsh
MVP [MS Access]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.