如何在没有HTML的情况下在Crystal Reports中的字段中插入换行符?

时间:2014-05-06 22:56:42

标签: html crystal-reports

我正在创建信件表格,并且(惊喜)有一些换行符。我想这样做而不为每个段落创建一个新字段。将文本解释设置为HTML",但换行的执行非常草率。

dim someText as string

someText = "<p>This is some text " + {dbField} + " followed by some more text.</p>" + _
     "<p>The text continues, but it doesn't create a space between the paragraphs. So I have to do something sloppy like this:</p>" + _
     "<p>&nbsp;</p>"
     "<p>And now I'm assured there is a line break between the two paragraphs.</p>"

formula = someText

是否有更简洁的方法:

<p>&nbsp;</p>

0 个答案:

没有答案