Erp100论坛's Archiver

gxgxue 发表于 2008-2-18 10:57

一点Crystal Report的小技巧

<P>如里report对输出行数有要求<BR>例如:每页要求显示10行data,不管实际的data有几行,都是每页show 10行data,不足的以空行填补.<BR>实施方法:需要分多个detail区来进行控制,<BR>"Format Section-&gt;Common中的Suppress"选项选中,作用是满足条件则禁止此detail的显示,<BR>控件条件则需用到一个用于计算data实际行数的query(*_Count),<BR>用一个Function(Remainder ({*_Count.Field},10 )&lt;&gt;1)来实现,<BR>意思是判断条件为:10-{*_Count.Field}的余值不等于1,则此detail不显示,也就是只有余值等于1时这个detail才会show出来.以此思路设计多个detail区分.</P>

JaseXu 发表于 2008-2-22 11:42

ding...

bob 发表于 2008-2-29 16:39

感谢菠萝姐分享Crystal Report的小技巧!:)

gxgxue 发表于 2008-2-29 16:43

[quote]原帖由 [i]JaseXu[/i] 于 2008-2-22 11:42 发表 [url=http://bbs.erp100.com/redirect.php?goto=findpost&pid=124235&ptid=20238][img]http://bbs.erp100.com/images/common/back.gif[/img][/url]
ding... [/quote]
谢谢支持

gxgxue 发表于 2008-2-29 16:44

[quote]原帖由 [i]bob[/i] 于 2008-2-29 16:39 发表 [url=http://bbs.erp100.com/redirect.php?goto=findpost&pid=125880&ptid=20238][img]http://bbs.erp100.com/images/common/back.gif[/img][/url]
感谢菠萝姐分享Crystal Report的小技巧!:) [/quote]
希望对你有帮助

bob 发表于 2008-3-1 11:51

[quote]原帖由 [i]gxgxue[/i] 于 2008-2-29 16:44 发表 [url=http://bbs.erp100.com/redirect.php?goto=findpost&pid=125884&ptid=20238][img]http://bbs.erp100.com/images/common/back.gif[/img][/url]

希望对你有帮助 [/quote]
:P 奖励你[img]http://img7.9158.com/200708/13/12/37/200708136568080s.jpg[/img]

gxgxue 发表于 2008-3-4 12:57

收到,谢谢啦:P

ilearningit 发表于 2008-6-23 16:59

ding........

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2007 Comsenz Inc.