2
I am preparing a report with the following structure:
Well so far everything is set right, I’m using C# Windows Form, using the Reportviewer component to do the report, but when it comes to getting the data, it only takes the information from the first record, wanted it to generate a record of this per page, with the information for each data specified on the line, this having a button also above to list only the data of certain events in certain cities.
I’m at a point where I don’t know how to code this and it wouldn’t work to put it on a table, Matrix or list.
I wonder how to make such a page break for each record.
I could not understand very well, how it works to put them in subtotal?
– SNOT
@SNOT, come on, in the report is created a header, the body of the report and the total and to complement, can add other structures as the sub-total. So if you hide the body of the report (body) you will have Cabçalho (header) and Subtotal. Placing the page break in subtotal when display will be printed on each page, the header, the Subtotal, template you want. .
– Luiz Vichiatto
@SNOT, at a glance, did a quick search https://code.msdn.microsoft.com/windowsdesktop/Gerando-relatrios-com-815c3396
– Luiz Vichiatto
well this example is very basic and would not serve, because in the way I showed, it is not using table, to get all the values related to that. As it would be a data per page he can not recognize that there are others and send to the next page, not so much the break of page as the method of doing in the header are working
– SNOT