PageNumber based on the invoice
Hi RS Panthers, I have one typical requirement in SSRS2005 regarding the PageNumbering. The requirement goes like this: The report have a table to display with some 'n' number of invoices and 'n' number of records for those invoices. Now, we are grouping on the invoices and checking "Page break at the end". So, each invoice would be displayed in different page. and Note that each invoice can occupy 'n' number of pages, based on the records for those invoices. Now, the requirement is we have to show something like "Nth page of total pages M" for each invoice. Where N is the numbering of pages being shown for that invoice and M is the total numbe of pages for that invoice. I am able to show the first part that is Nth page of.. using the below code by passing the value when new Invoice is coming: But, i am not able to get the total number of pages for that invoice :( Shared offset As IntegerPublic Function GetPN(reset As Boolean, pagenumber As Integer) As IntegerIf resetoffset = pagenumber - 1End IfReturn pagenumber - offsetEnd Function Please help.B.K.Umesh
March 29th, 2010 1:47pm

Hi, Providing you link hope this will help you http://sourcecode-world.blogspot.com/2011/02/invoice-management-system.html Mark the best replies as answers if it its helps Free Source Code
Free Windows Admin Tool Kit Click here and download it now
March 8th, 2011 11:08pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics