在Group Header cystal报告中显示Group Footer值 [英] Display Group Footer value in Group Header cystal report

查看:179
本文介绍了在Group Header cystal报告中显示Group Footer值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了3个公式



1. 重置列表 Group-Header

2. CollectList 详细信息

3. Group-Footer DisplayList >



现在,我想在组头中显示Groupfooter的值[DisplayList]。

我试过EvaluteAfter但是它显示了之前组的'valueelist而不是当前的一个



需要帮助

:)

I have create 3 formulas

1. ResetList in Group-Header
2. CollectList in Detail
3. DisplayList in Group-Footer

now, i want to show Groupfooter''s value [DisplayList] in group header.
I have try EvaluteAfter but it shows prior group''s valuelist instead of current one

Need help
:)

推荐答案

已解决:)



我希望如果你面对它对你有用像这样的同样的问题...



很容易实现这一点来概括数字字段

我们可以创建摘要和将它粘贴在标题中它会给出正确答案...



但是如果你试图用公式,运行总计或为字符串列水晶报告中不可能



然后我在sql中进行查询给我运行总计或字符串列,它给我带逗号分隔符的字段值。



例如
solved :)

I hope it will useful to you if you are facing same problem like this...

it is easy to achieve this for summary of Numeric field
we can create summary and paste it in header it will give proper answer...

but if you are trying to do this with formula, Running total or for string column it is not possible in crystal report.

then I have make a query in sql that give me running total or for string column, it give me field values with comma separator.

e.g
select col1,Col2, (select col1 + ',' as [text()] from table1 where col2=a.col2 for xml path('')) as summaryCol1 
from table1 as a





快乐的编码!

:)



Happy coding!
:)


这篇关于在Group Header cystal报告中显示Group Footer值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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