Decimal Places of Decimal Field in RTC Report

Alagar
Member Posts: 100
Hi Everybody,
In RTC Report, we are facing some problem in printing of decimal field in footer of RTC Report.
for Example. Instead of Showing 14.00 its showing as 14. Is there any functions or Properties available In Visual Studio?. But in Body Section its printing correctly as 14.00.
How to fix this?.
In RTC Report, we are facing some problem in printing of decimal field in footer of RTC Report.
for Example. Instead of Showing 14.00 its showing as 14. Is there any functions or Properties available In Visual Studio?. But in Body Section its printing correctly as 14.00.
How to fix this?.
0
Comments
-
Did you set Format property for that field in footer?0
-
if you have done "create layout suggestion", NAV has automatically set the format property in the fields that have been automatically created (e.g. that one in your body section).
If you add more fields manually, the property settings automatically done by NAV are (obviously) not retained (padding, formatting, alignment...).
Check out the format property of your working field (that will probably have a value like "mydecimalfield_Format" or so). As you cannot use the same value in the footer section, because "mydecimalfield_Format" is part of the dataset, you can:
-check what's its value in the "about this report" function and copy that value in the format property of the new field.
- familiarize the format property and set it as you prefer (i never remember what are the exact characters for that property :whistle: )0 -
Hi mohana_cse06,
No ](*,)0 -
Hi Alagar,
Using ROUND(Amount, 0.01, '>') in Source Expression Instead of Amount
I hope this clarifies. :thumbsup: :thumbsup: :thumbsup:0 -
Alagar wrote:Hi mohana_cse06,
No ](*,)
As Mirko said, Assign <fieldName>_Format field in Format property0 -
Hi All,
I got it result Using ROUND(Amount, 0.01, '>') in Source Expression Instead of Amount
Tks for manikandan,mohana_cse06 and Belias.0 -
this is a bug. Even with create layout, and the Format property assigned, it still does not format them like it's supposed to.0
-
Maybe something like this does work:
(this is for a transfooter with using functions with a hasttable see: [report properties], [code]
See the blog of "Transfooter and Transheader functionality in RDLC(SSRS) reports)
The 2 presents the number behind the comma).
Value field: expression:
="Transport " & FormatNumber(Code.SetRunningTotal( Sum(ReportItems!Sales_Invoice_Line__Line_Amount_.Value), Globals!PageNumber),2)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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