Want a help in CrystalReports

tgs_raja

New member
Joined
Sep 19, 2005
Messages
4
Location
Bangalore
Programming Experience
1-3
I am using crystalreport for creating report for my application and I wnt that the detail section in the report should be of constant height even if the no. of data is too high.

Please post a quick reply.

ThankYou,
Sabari.
 
Add a Formula Field and put it on the detail line.
Bascis Syntax:

WhilePrintingRecords
global RowNumber as Number
RowNumber = RowNumber +1
formula = RowNumber


Format the Detail Section:
The condition for NewPageAfter is
Basic Syntax:

global RowNumber as number
if RowNumber >12 then
RowNumber = 0
formula = true
else
formula = false
end if



Change the 12 to however many rows you want, format the report so each page looks the same.
You can suppress the RowNumber on the detail band if you don't want it to print.
Same type of functionality, with a PageNumber formula and you should be able to figure out how to print only one page if you want.
 
Back
Top