About formatting in a NAV 2013 Report
poppins
Member Posts: 647
Hi everyone,
I am working on a report based on Sales Invoices (table 113) in NAV 2013 R2.
I looked in the table, the amounts in the differentlines do not have the same format : sometimes they have 2 decimal places and sometimes they have 3 decimal places (it depends on the currency, I think).
I tried TextBox Properties ->Number and I chose default in the category, but it didn't much my need (when the value is integer for example 10, the reports displays 10 and not 10.00 as I need, and when it is a decimal like 10.6 , the report displays 10.6 and not 10.60 as I need).
What shall I do to get the format as it is in the table line? and how can I add a thousand separator?
Thanks in advance
I am working on a report based on Sales Invoices (table 113) in NAV 2013 R2.
I looked in the table, the amounts in the differentlines do not have the same format : sometimes they have 2 decimal places and sometimes they have 3 decimal places (it depends on the currency, I think).
I tried TextBox Properties ->Number and I chose default in the category, but it didn't much my need (when the value is integer for example 10, the reports displays 10 and not 10.00 as I need, and when it is a decimal like 10.6 , the report displays 10.6 and not 10.60 as I need).
What shall I do to get the format as it is in the table line? and how can I add a thousand separator?
Thanks in advance
0
Comments
-
The thousand separator I need is a space...
I tried to use the FORMAT function, I found the following code but didn't know how to use it:FORMAT(YourDec,0,'<Sign><Integer Thousand><1000Character,,>')
Can anyone give me a concrete example (with values) so that I can apply it to my code?
Thanks in advance
0 -
Choose:
TextBox Properties ->Number-> Number
and check in checkbox for Use 1000 separator..
Regards,
Suraj“Any fool can know. The point is to understand.”
― Albert Einstein0 -
poppins wrote:Hi everyone,
I am working on a report based on Sales Invoices (table 113) in NAV 2013 R2.
I looked in the table, the amounts in the differentlines do not have the same format : sometimes they have 2 decimal places and sometimes they have 3 decimal places (it depends on the currency, I think).
I tried TextBox Properties ->Number and I chose default in the category, but it didn't much my need (when the value is integer for example 10, the reports displays 10 and not 10.00 as I need, and when it is a decimal like 10.6 , the report displays 10.6 and not 10.60 as I need).
What shall I do to get the format as it is in the table line? and how can I add a thousand separator?
Thanks in advance
HI
Try This
On Report Designer, Click on Text Box For which you need to do the above format. Then go to Properties on the right side, Here choose Number --> Format --->Choose Expression and in the Expression Box choose the Text Box Name With Keyword "Format", and Test the Result0
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
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 991 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
