I tried to find any solution, saw a lot of similar questions on different sites, but still have no appropriate solution.
So, the situation is following:
On SQL Server 2005, Reporting services I have printed form (ex. "invoice"), which can be multi-page. I need to print a lot of such forms (ex. all "invoices" for specified customer and for specific period) by one click. I put the layout in the table and group all info by the invoice number, so for the whole printed form it's fine, I've got, what I want. For all, except page numbering. Each invoice, if it's multi-page, should have in the footer page numbering like "page xx from xx". I found, how can I reset page number, but I don't get if it's possible to calculate total number of pages for group. Have somebody solved it? thanks