Formatting numbers in Reports

Mauddib
Member Posts: 269
I have declared and populated an array of type integer in a report in Navision 3.07B
I want to add a thousands comma to these so 34000 comes out 34,000 etc. But Ive tried it in the FORMAT property of the text box and Ive tried using the FORMAT() function in the sourceexpression property. Neither is working for me so im sure im doing something wrong. What would the best way of doing this be?
GaMBe
I want to add a thousands comma to these so 34000 comes out 34,000 etc. But Ive tried it in the FORMAT property of the text box and Ive tried using the FORMAT() function in the sourceexpression property. Neither is working for me so im sure im doing something wrong. What would the best way of doing this be?
GaMBe
0
Comments
-
I don't think an Integer can be formatted this way, try converting it to a decimal.0
-
Isn't it automatically formatting those numbers with your computer's settings? It may be because you are using integers instead of decimals, like Mark says.0
-
Im still unsure how to use formatting. Anything I do from the help menu seems to make the field either go BLANK or display a ZERO. Weird, but im obviously messing up the syntax now so heres my new question.....
now that I have it on decimal it IS putting in the commas but is is ALSO putting in decimals which I dont want. So now how to I format them out?
Gavin0 -
Use
<Sign><Integer Thousand>
In the format property0 -
If you want to just cut the decimals off, put
<Sign><Integer Thousand>
in the Format-Property of the field.
If you want it rounded, use the ROUND function ( ROUND(...,1)) in the source expression.Kai Kowalewski0 -
Same option twice
This must be the right solution :!:0 -
Thank you all. Being a beginner sucks but Im getting it.0
-
We all went that way, and learning never gets booring.0
-
-
I hope so! Navision is pretty new here in Ireland. Not too many companies use it (i dont think ive seen anyone else in ireland registered here either). So Im glad Im learning ahead of the bunch!!!
At least this forum doesnt have the newbie haters that most forums doYou should try reading the telephone tech talk forums at sundance.com
GaMBe0 -
Mauddib wrote:I hope so! Navision is pretty new here in Ireland. Not too many companies use it (i dont think ive seen anyone else in ireland registered here either).
I have an international customer that decided to put all the databases in 1 point with citrix-access. Guess which country take took to put all the databases.... Ireland :!:Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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