Last post Feb 28, 2012 03:45 AM by Hmeilhem
Feb 27, 2012 01:17 PM|j.borelli|LINK
I have a system where i use Microsoft Report Viewer, local mode to show reports.
I use Microsoft Visual Studio 2008, Microsoft Report Viewer 2008, 2010 and 2012
I have a text box control on report, where I put the field "Description".
"Description" is a text field, and many times i have values with enter character and several spaces.
" this a example
of value to field description,
there are <ENTER> and <SPACES >
The problems on RPT result are:
1- text box control only accepts one space character and deletes the anothers space characters.
2- text box control deletes enter characters
On example, the result is
" this a example of value to field description, there are <ENTER> and <SPACES >"
I resolved the item 2, on select "from database" where <ENTER> characters replaced by "||" and on rpt file, on text box i put
I tried resolve the item 1, on select "from database" where <ENTER> characters replaced by "<>" and on rpt file, on text box i put
=Replace(Replace(Fields!TEXTO_PROJETO.Value,"|",VBCRLF),"<>"," "), but it did not resolved the problem
How can i resolve this prroblem ?
Sorry for my poor english ...
Feb 27, 2012 01:32 PM|j.borelli|LINK
and, did not resolve the problem too ...
Feb 28, 2012 03:45 AM|Hmeilhem|LINK
try to change text box mode to HTML like this pic: