首页 > 解决方案 > 页眉中的共享变量重置公式不会导致页脚中的公式重置

问题描述

我在组页脚中有这个公式,它计数准确。

WhilePrintingRecords;
shared NumberVar cCount := COUNT({history_client_charge.clientNo});

然后我把这个公式放在组标题中,但它不会导致我的变量重置。

WhilePrintingRecords;

shared NumberVar cCount := 0;

我究竟做错了什么?

标签: crystal-reportsshared-variable

解决方案


推荐阅读