How to store Page No. in Nav 2013 while previweing a report

hksharmaahksharmaa Member Posts: 55
edited 2013-07-17 in NAV Three Tier
I have made an Customer List(Sorted by Name) report now i want to store the page no. I have created fields in Customer Table to store page No..
But how to store the Page No. as the designer opens in Visual studio and there is no link of writing code there?? And if I write code in Report(ON Post data Item) the field shows page no. 1 but while previewing page no. goes to 700??

Comments

  • clauslclausl Member Posts: 455
    I have now read you question 5 times, and I still do not understand what your are asking us to help you with, sorry :-(

    /Claus Lundstrøm
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • StLiStLi Member Posts: 83
    @clausl: I think he wants to write down the pagenumber on which the customer is found in the report. i.e. if the Customer "John dole" is foudn on page 354 in the printed report he want to save that number on a Custom Field he made in the Table Customer.

    hksharmaa: I don't think there is a way to do so. Because the page-numbers get generated on the RDLC interpreter and this interpreter doesn't send back any data to navision. It only interprets what it gets from the recordset.

    The only solution that comes to my mind is using an integer variable which gets incremented every X records (x = the number of records per page) and to write that number down on your customer record.
Sign In or Register to comment.