hi everyone, i have to do a report which contains something like this:
_____________________
Signature: _ _ _ _ _ _ _ _ _ _
_____________________
but i couldn't find a way to achieve it simply. I worked around it by creating additional lines and make a dashed border (see screenshot.
is there a way to achieve this more simply, like padding "_ " to the textbox white space?
Thanks in advance
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
0
Comments
Regards,
Claus
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
I have some other textboxes that should have that special underline, and they all have a different lenght...I hoped for an easy padchar/leaderdots solution :-k
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
You can do this by setting the BorderStyle properly and have the Bottom set as Solid.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
You can do this with the PadRight method. Here is what you need to do:
1. Paste this code into the Code section of your report: The first paramter "30" is how many times PadRight will add an extra character minus the field lenght. So your field can be dynamic in size and PadRight will then just add the "_" until the text string is 30 charaters long.
2. Now add you field you want to enable the PadRight function on, like this: "=Code.MyPaddedString(Fields!Customer_Name.Value)"
3. Build, Save and Compile and your report will i.e. now look this:
You can find this report here:
Here in TXT, FOB and PDF
/Claus Lundstrøm
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
/Claus Lundstrøm
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
/Claus Lundstrøm
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)