简体   繁体   English

指定日期之间的Crystal Report运行总计

[英]Crystal Report Running Totals between specified dates

I am designing a Crystal Report for Banking where I need to publish running total between two specified dates. 我正在设计用于银行业务的Crystal Report,需要在两个指定日期之间发布运行总计。 Now I have a problem here. 现在我在这里有问题。 See if I start from 5th of January 2012 and want to publish everything afterward, the opening balance for that calculation will start from 4th of January and before. 看看我是否从2012年1月5日开始,并希望以后再发布所有内容,该计算的期初余额将从1月4日及之前开始。

I have completed a report that can publish results from the start to end but not when the user specifies a report from a particular date. 我已经完成了一个报告,该报告可以从头到尾发布结果,但是当用户从特定日期指定报告时,则不能。

假设您有两个指定日期范围的参数字段(starting_date和Ending_date),请将其添加到运行总计的Evaluate公式(“使用公式”单选按钮):

{table.date_field} IN {?starting_date} TO {?ending_date}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM