我如何在Crystal-Report @String中增加字符串长度 [英] How can I increase string length in Crystal-report @String
本文介绍了我如何在Crystal-Report @String中增加字符串长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Crystal报表中有一个字符串参数,该参数显示数据库字段的字符串,但少于400个字符.但是,在我的数据库字段中最多只能有1000个字符.我想在报告1000"字符中显示.因此,如何增加或重置Crystal-Report中的字符串长度?
[edit]删除了虚假的粗体和粗体标记,主题-OriginalGriff [/edit]
I have a string parameter in a Crystal-report which show a database field''s string but less than 400 character. But, in my database field there is max 1000 character. I want to show in my Report 1000 character. So, how can I increase or reset the string length in Crystal-Report ?
[edit]Spurious big and bold removed, Tags, Subject - OriginalGriff [/edit]
推荐答案
如果您使用的是参数化查询,则可能会设置将varchar查询到400.还要检查存储过程是否在其参数字符串中接受varchar(max).
If you are using a paramaterised query you may be setting the length of the varchar in the query to 400. Also check the stored procedure is accepting varchar(max) in it''s parameter string.
这篇关于我如何在Crystal-Report @String中增加字符串长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文