RTC Report
postsaurav
Member Posts: 708
Page number can only access be access in Page Header and Page footer .......................
Can any body tell me that how can I access page no. in RTC layout Body ?
Thanks in Advance
Can any body tell me that how can I access page no. in RTC layout Body ?
Thanks in Advance
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
0
Answers
-
Do you want to print the page number in the body?~Rik~
It works as expected... More or Less...0 -
Yes I want to print page No. in Body
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0 -
To my knonledge is not possible. You can't use Globals!PageNumber in body.
And you can't copy the value from the header to the body because body is processed before the header.
I tried with a VB Script function and as expected the value remains 0 in the body.
I'm sorry not to be able to help you :oops: .~Rik~
It works as expected... More or Less...0 -
not sure, but maybe this will help
http://dynamicsuser.net/blogs/waldo/archive/2008/10/01/microsoft-dynamics-nav-nav-2009-reports-pagenumbers-x-y.aspx0 -
aseigle wrote:not sure, but maybe this will help
http://dynamicsuser.net/blogs/waldo/archive/2008/10/01/microsoft-dynamics-nav-nav-2009-reports-pagenumbers-x-y.aspx
in the post you indicate the page number is shown in the Page Footer, while postsaurav want to print the page number in the body.~Rik~
It works as expected... More or Less...0 -
Actually it is not possible todo this. There are techniques described on the www using functions, but they do not work.
For example:Public Function PageNumber() Dim str as String str = me.Report.Globals!PageNumber.ToString() Return str End Function Public Function TotalPages() Dim str as String str = me.Report.Globals!TotalPages.ToString() Return str End Function
Now add the following function calls to empty textboxes
=Code.PageNumber
=Code.TotalPages
And when you test it, it will always return 1 as the pagenumber. ](*,)
There's another workaround you could apply, but it requires that you set the number of rows on every page to a fixed number.
http://www.codeproject.com/KB/reporting-services/RDL_Programming_Issues.aspxDebugging is twice as hard as writing code. Therefore if you write the code as cleverly as possible you are by definition not smart enough to debug it.0 -
Thanks all for replying..............
But still no output for accessing Page no. in RTC Report
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0 -
Troubles In Paradise wrote:To my knonledge is not possible. You can't use Globals!PageNumber in body.
You already got answer for your question here.0 -
so finally i can't access page number in body of RTC report............
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0 -
yes, we cannotpostsaurav wrote:so finally i can't access page number in body of RTC report............0 -
thanx
For Reply..........
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
