Priyanka S
Priyanka S

Reputation: 11

SSRS Report Pagination: Dynamic Page Count and Row Limits Across Multiple Sections and Subreports

I have successfully achieved the desired results for the first page. However, I am struggling with implementing the pagination logic from the second page onwards. Specifically, I need guidance on how to correctly paginate the remaining records across subsequent pages.

I am working on an SSRS report where I need to implement a specific pagination logic and am seeking guidance on the approach I’ve taken.

Requirements:

  1. Pagination and Row Limits:
  1. Dynamic Item Count:

Report Structure:

I’ve divided the report into two main sections: Section 1 contains four subreports: -Subreport 1: Details (always on the first page). -Subreports 2 & 3: Item details (continued on the second page if the item count exceeds 5). -Subreport 4: Payment details (always on the first page). Section 2 contains two subreports for item details. -If the item count is exactly 5 or fewer, the second section should be hidden, and only the first page should be printed. Below is the design: overall design on the main report

Query: Is this approach correct, or is there a more efficient way to achieve the desired outcome? I would appreciate any suggestions or best practices, especially for handling dynamic pagination and conditional visibility of sections based on the item count.

Expected Result: The page should look like this ->: page 1page 2

PTBN: Tools used : "SSRS" , "Visual studio" , "ODBC Connection ( PostgreSQL)"

Thank you in advance for your assistance!

Upvotes: 1

Views: 34

Answers (0)

Related Questions