PDA

View Full Version : Pagebreak in  datareport VB


kirannapit
Jan 8, 2003, 02:27 AM
Hi,
Does any one know how to give a page break in datareports in VB after display of certain records .
All the reports is done using dataenvironment and datareport properties, but I want to show the report by having pagebreak after every 5th record. Since no code is written , I can't do anything to do this. Only datareport.show method is used. I tried to use forcepagebreak property but doesn't work.
Pls help.
Kiran

chitrasekar
Mar 1, 2010, 11:49 PM
To force a page break before the CompanyName field

1.Click the group header named Customers to select it.


2.On the Properties window, click ForcePageBreak, then click the arrow that appears at the right of the box.


3.Click the 1 – rptPageBreakBefore from the drop-down list.


4.Run the project.
Step by Step