Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/sorting/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sorting Crystal报告按运行总数排序_Sorting_Crystal Reports_Cumulative Sum - Fatal编程技术网

Sorting Crystal报告按运行总数排序

Sorting Crystal报告按运行总数排序,sorting,crystal-reports,cumulative-sum,Sorting,Crystal Reports,Cumulative Sum,我已经使用Crystal Reports帮助中解释的公式创建了一些运行总计。但是,当我尝试使用我的组运行总计对报告进行排序时,它不会在排序专家中显示这些公式 我想这是因为我按照CR帮助中的说明在公式中使用了whileprinting record 有什么办法可以解决这个问题吗?这是因为运行总数是在打印时计算的。直接的方法是使用view或SQL表达式创建存储过程。在将字段添加到报告后,使用Top N/Group排序

我已经使用Crystal Reports帮助中解释的公式创建了一些运行总计。但是,当我尝试使用我的组运行总计对报告进行排序时,它不会在排序专家中显示这些公式

我想这是因为我按照CR帮助中的说明在公式中使用了
whileprinting record


有什么办法可以解决这个问题吗?

这是因为运行总数是在打印时计算的。直接的方法是使用view或SQL表达式创建存储过程。在将字段添加到报告后,使用Top N/Group排序