crystal report中如何对数据进行分页合计?

龙腾九霄 2003-01-01 04:59:59
比如多个分组,每个分组里面多个页,每一页统计这一页的合计数据!
立马给分!
...全文
207 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
龙腾九霄 2003-01-03
  • 打赏
  • 举报
回复
thanks,I will try it later
spring_ok 2003-01-02
  • 打赏
  • 举报
回复
1: You place the first one (@reset) in page header?(and suppress it)

WhilePrintingRecords;
shared numbervar tot := 0

2: Place the second formula (@accumulate) in "detail section" (and suppress it)

WhilePrintingRecords;
shared numbervar tot := tot + {table.numberfield};

3: Place the third formula (@showvalue) in "page footer":

WhilePrintingRecords;
Shared numbervar tot;

icyer 2003-01-02
  • 打赏
  • 举报
回复
1. 在Group Header和Page Header里面加入一个公式:
WhilePrintingRecords;
NumberVar nCount := 0;

2. 在Detail里加入一个公式:
WhilePrintingRecords;
NumberVar nCount;
nCount := nCount + {表名.字段名};

3. 在Page Footer里加入一个公式:
WhilePrintingRecords;
NumberVar nCount;

try it.
glboy 2003-01-02
  • 打赏
  • 举报
回复
加特殊字段不行吗?
icyer 2003-01-02
  • 打赏
  • 举报
回复
1. 在Group Header和Page Header里面加入一个公式:
WhilePrintingRecords;
NumberVar nCount := 0;

2. 在Detail里加入一个公式:
WhilePrintingRecords;
NumberVar nCount;
nCount := nCount + {表名.字段名};

3. 在Page Footer里加入一个公式:
WhilePrintingRecords;
NumberVar nCount;

try it.
angel_lee 2003-01-02
  • 打赏
  • 举报
回复
up first:)
龙腾九霄 2003-01-01
  • 打赏
  • 举报
回复
大家都看不到我的问题?
龙腾九霄 2003-01-01
  • 打赏
  • 举报
回复
up

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧