Hello,
On Dynamics Nav 2013, I have created a new Sales Invoice Report (by using the 206 standard report as a model)
I have a problem with all decimal fields (I suppose because they are aligned on the right) :
The number the most at the right side is slightly cut
Have a look at the picture joined to this post as an example
I do not have any idea where it does come from - I tried to keep the same properties as in the standard report, but I changed the font.
I'm just beginning with RDLC - Can anybody bive me some hints ?
Thanks
0
Comments
check by putting say 10pt on Right padding for the field.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
The padding properties were 5pt;5pt;0pt;0pt
So I changed for 10pt on the right (5pt;10pt;0pt;0pt)
No change !
I modified padding to 0 and decreased font size to 5pt - and this worked, ... But ... :
Since my last post I tried out some standard reports and the probleme happens on all of them - so this might come from the way I print ?
Just now I'm in my dev environnement and all is local. I will try as soon as possible to print in another environnement.
In a first time I began with padding of 2pt (I print borders) and only when I saw the problem I began to test different values.
Thanks for all the other hints - I will have a look.
Printing on pdf gives the same problem. So you say it comes from rdlc, But I don't really know what to think because all right aligned data in the standard reports I tried are slightly cut.
Question: The font which is visible in your screenshot, where did it come from? Did you set it on purpose? Or dit it somehow came from nowhere? I do have some weird rendering problems in 2013 RDLC and one of the symptons is that my default Arial is replaced by a font which looks a lot like yours. I have no idea why but I noticed this on other 2013 installations as well.
=iif([expression_value] = 0,"#","#,##0.00 ;#,##0.00-")
Replace the [expression_value] with the actual expression for the text box, (like Fields!Amount.Value or whatever the Expression is). Of course I used "#" as the format if the value being printed is 0, but you can make it anything you like. The real important thing is what happens if it's NOT 0. You will see a custom format there with 2 values separated by a semicolon. The first value is for a positive number, and the second is for a negative number. Make sure you put a space at the end of the positive number's format if you're going to be using a trailing minus sign for the negatives. If you will be using a leading minus sign, then make sure that BOTH formats have a trailing space. That will allow decimal points to line up for both positive and negative numbers. I hope this does the trick for anyone else out there that's been beat up by this. I know my forehead is bloody from beating it against the wall!
If users are printing from terminal server than it will be resolved after applying below hot fix on server.
https://blogs.msdn.microsoft.com/nav/2013/02/25/nav-2013-reports-may-be-difficult-to-read-when-printing-over-terminal-services/
Navision Developer