xoanon
xoanon

Reputation: 195

number of rows in crystal report

I have a web app in asp.net which contains crystal reports.I have a drop down list which contains the number of records to be displayed.
so if the user selects 5 the report showld show 5 records per page,if he selects 10 ot should show 10 records per page..
can you help me guys..i am not able to fine any solution for it

Upvotes: 0

Views: 528

Answers (2)

Nitin S
Nitin S

Reputation: 7591

Paginate the resultset and keep on updating the pagesize according to the value in dropdown list

http://www.codeproject.com/KB/database/PaginationSorting.aspx

Upvotes: 0

craig
craig

Reputation: 26262

  1. Create a Number parameter named PageSize.
  2. Add the following to the Detail section's "New Page After" conditional formula:

    Remainder(RecordNumber, {?PageSize})=0
    

Upvotes: 1

Related Questions