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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determinate page number?

Status
Not open for further replies.

alexbelovtt

Programmer
Nov 15, 2005
51
US
How to determinate page number?
I need to suppress one section on first page only.
1. What is appropriate place (event) to do that?
2. How do I find out page number?
Thank you.
Alex
 
on the left side of your report right click and choose section expert

click on the section in question and click on the x-2 button for the suppress option and add

pagenumber = 1

this should suppress the section of the first page

Mo
 
Thank you, Mo.
Works perfect, but how I can do that programmatically, using VB?
 
you need to give me some more info eg. what trigger the condition that will force the page to suppress a section from your VB app..

from your app, are you passing parameters to the report or using selection formula?

Mo
 

I build each section (Sub report) dynamically base on my middle tier collections.
In general, solution you provide works, just in case user will be changing his mind I want to be able hide – show section depends on page number.
Looks for me:
g_objReport.Sections(2).ConditionFormula ("FormulaName” as string)

Must work, what I can find, where and how I set Formula with "FormulaName”

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top