SSRS Report parameters - Textarea instead of Textbox

那年仲夏 提交于 2019-12-11 19:56:36

问题


Does anyone know if its possible to create a parameter in SSRS that will display a Textarea instead of a Texbox and let the user type in a few paragraphs of text, including carriage returns?

I've a requirement to create a report that will end up as data with a cover letter. A section of the cover letter needs to have a block of text, which the user can specify when setting the parameters.

I can create a 'text' parameter which displays a Textbox, but that does not accept carriage returns. I have tried to copy and paste text from Word, but then it only takes the first line of text.

Has anyone got any suggestions? So far I've not managed to find any solutions online.

Thanks in advanced.


回答1:


Sorry problem solved,

I changed the text parameter so that it could accept multiple values. Then on the textbox that displayed the text on the letter I changed the expression to read:

=Join(Parameters!FreeText.Value, vbcrlf)  

Sorted.



来源:https://stackoverflow.com/questions/19030808/ssrs-report-parameters-textarea-instead-of-textbox

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!