在Crystal Reports参数字段中输入回车 [英] Enter a Carriage Return in a Crystal Reports Parameter Field

查看:84
本文介绍了在Crystal Reports参数字段中输入回车的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用参数字段作为报表的注释框,在运行报表时,可以在其中自由输入注释到参数中,并将其显示为表单上的文本框. 但是,我发现您无法输入回车(换行).

I'm trying to use a parameter field as a notes box for a report, where when you run it, you can freely enter notes into the parameter and it will display as a text box on the form. However, I've found you cannot enter a Carriage Return(new line).

有人知道在crystal参数中输入新行的方法吗?

Anyone know a way to enter a new line in a parameter for crystal?

推荐答案

弄清楚了.创建了一个称为注释的参数字段,然后创建了一个用于更改注释的公式字段.

Figured it out. Created a parameter field called notes, then a formula field to alter the notes.

Replace ({?Notes},"." ,"."&ChrW (10) )

这将用.句点和新行替换任何句点.

That replaces any periods with a .period and a new line.

这篇关于在Crystal Reports参数字段中输入回车的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆