Page entry in a report

andreasnandreasn Member Posts: 4
edited 2009-12-23 in NAV Three Tier
Ladies and Gentlemen,

I need your help! I want to enter a "Page .. of ..." in a report.
How does it work? I couldn't find a property for the amount of pages :(

Best regards

Andreas

Comments

  • koubekkoubek Member Posts: 84
    I think You can do this in RTC client only...
  • BeliasBelias Member Posts: 2,998
    you can do it in classic, but it's weird...search the forum for page number, you'll find a solution
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • clauslclausl Member Posts: 455
    Add a textbox in Visual Studio and add this text:

    ="Page " & Globals!PageNumber & " out of " & Globals!TotalPages

    Regards,
    Claus
    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 :-)
  • koubekkoubek Member Posts: 84
    Add a textbox in Visual Studio and add this text:

    ="Page " & Globals!PageNumber & " out of " & Globals!TotalPages
    I am not exactly sure what You mean... We are speaking about NAV Native Client functionality here.
  • BeliasBelias Member Posts: 2,998
    then read my post :wink:
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • koubekkoubek Member Posts: 84
    then read my post
    OK, I know that it is possible to do it, but it is not very comfortable solution (line counting).
  • BeliasBelias Member Posts: 2,998
    no line counting, page counting...you have to run the report 2 times, and it's the only way to do this in classic reports
    here's an example http://www.mibuso.com/forum/viewtopic.php?f=23&t=3769&hilit=count+pages
    As you've seen in clausl's post, it's instead very easy to do with rdlc!
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • koubekkoubek Member Posts: 84
    Yes, this is possible too, but it is really strange solution :?
  • stevedivimaststevedivimast Member Posts: 39
    I have a problem in page numbering when Print "Document" Report (ie Report 206 Sales - Invoice)
    (I'm talking about RDLC report only, not classic report)
    Add a textbox in Visual Studio and add this text:
    If I use the suggestion

    Add a textbox in Visual Studio and add this text:
    ="Page " & Globals!PageNumber & " out of " & Globals!TotalPages


    It work fine if i Print just one document, but if I filter more then one documen i got the correce page numbers on the 1st document, but in the second document the number of pages is non resetted (obviusly).
    These is a method to get the corret Page X of Y in this kind of report (I means something to "reset" Globals!PageNumber or Globals!TotalPages evrery document?
    Thanks
Sign In or Register to comment.