how to get page number value in body.
I tried for Global.pageNumber, but it works only in footer and header. and also i wrote custom code but it always shows page 1-1 .
and also i tried for ReportItems!Field.Value but it works only for body to footer.
My custom code is
Public Function PageNumber() as String
Return Me.Report.Globals!PageNumber.ToString()
End Function
Public Function TotalPages() as String
Dim str as String
str = Me.Report.Globals!TotalPages.ToString()
Return str
End Function
Thanks in advance
Ramesh
*This post is locked for comments
Look at this video it will help: youtu.be/DvreZIc7XjY
Create Transfooter/Transheader in the Body of the Report in Microsoft Dynamics NAV 2013 R2
Hi Ramesh,
Did you managed to have page numbering in the body? I haven't so far. Can you please explain me what you did?
I've tried to do the text Mahesh responded on 10 Apr 2015 3:49 AM, but it didn't worked for me (also offset4 isn't set).
Kind regards
Hi Prem
you can use Globals!ReportName........
hi
this is prem . i am trying the same in Navision 2013 R2... how do you get the built-in-fields Globals!PageName ?? only Globals!PageNumber is available in Navision 2013 R2
As you said in previous post's i design my header in page header,in previous i designed in table header.
Thanks for helping.
Ramesh
Could you share the solution and verify?
Hi mmv,
i resolve my problem.
thanks for all
regards,
ramesh.
Hi Ramesh,
Is your report having Page Header and Footer or you are not planning to use them at all?
Best Regards,
MMV
Hi Sandeep,
it always shows page 1-1 .
Regards,
Ramesh.
pls verify...............
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156