Hi there,
I have a report in my project that binds to a list of custom objects. Each of these objects has several properties which I am displaying in a row in the details section. The report looks fine, the row in the details section is correctly rendering 10 times (the number of objects in the list) on each page. The problem that I am encountering is that the report is also rendering 10 duplicate pages, one for each object. These are carbon copies of each other and have identical data etc.
I am setting the data source as per the following line of code:
objSummary.DataSource = Me.StockSummary
This is in a "GenerateReport()" sub that I call after creating the report object.
StockSummary is a populated list of a custom class (ClosingSummary). This class contains several properties which I am displaying in textboxes in the details section using "=Field.PropertyName"
Any help would be greatly appreciated,
Mark.
I have a report in my project that binds to a list of custom objects. Each of these objects has several properties which I am displaying in a row in the details section. The report looks fine, the row in the details section is correctly rendering 10 times (the number of objects in the list) on each page. The problem that I am encountering is that the report is also rendering 10 duplicate pages, one for each object. These are carbon copies of each other and have identical data etc.
I am setting the data source as per the following line of code:
objSummary.DataSource = Me.StockSummary
This is in a "GenerateReport()" sub that I call after creating the report object.
StockSummary is a populated list of a custom class (ClosingSummary). This class contains several properties which I am displaying in textboxes in the details section using "=Field.PropertyName"
Any help would be greatly appreciated,
Mark.