Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page Number on Report

Status
Not open for further replies.

LJtechnical

Technical User
Aug 7, 2002
90
0
0
GB
Hi All,

I have a report where depending on a form value I may or may not have the report footer.visible set to true. The problem I have is that when set to false the report displays 1 less than it should for the built in [Pages] function.

The following highlights my problem:

If actual Report Length = 1 Page then [Pages]=1
If actual Report Length = 2 Page then [Pages]=1
If actual Report Length = 3 Page then [Pages]=2
If actual Report Length = 4 Page then [Pages]=3

and so on....

Any ideas?
 
Are you absolutely sure that the report isn't simply a page shorter without the footer?

Otherwise, can you post your code that makes the footer invisble complete with event information of where it is running?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top