将最后一行前进到水晶报表的下一页 [英] Carry Forward Last row to next page in crystal report

查看:95
本文介绍了将最后一行前进到水晶报表的下一页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Crystal Report 10和Ms Visual Studio 2010(Asp.net C#).
我的要求是我想将值结转到下一页.
这意味着,上一页的最后一行应填充为下一页的第一行.

例如:-

第1页:
日期Tran Desc贷方借方
10-02-2011 abc 100 0
11-02-2011 xyz 200 50
12-02-2011 pqr 0 100
13-02-2011 mno 500200

第2页:
日期Tran Desc贷方借方
13-02-2011 mno 500200
14-02-2011 xyz 200 50
15-02-2011 pqr 0 100

I am using Crystal Report 10 and Ms Visual Studio 2010(Asp.net C#).
My requirement is I want to carry forward the value to the next page.
That means, Last row of the previous page should be populated as first row in next page.

for Eg:-

Page 1:
date Tran Desc credit debit
10-02-2011 abc 100 0
11-02-2011 xyz 200 50
12-02-2011 pqr 0 100
13-02-2011 mno 500 200

Page 2:
date Tran Desc credit debit
13-02-2011 mno 500 200
14-02-2011 xyz 200 50
15-02-2011 pqr 0 100

推荐答案

定义变量(在您的情况下,页脚为5个变量,页眉为5个变量-总共10个变量).

使用"whileprinting"选项将页面总计分配给页面页脚变量.

在页面标题中,插入新的子节页面标题(b).

将值分配给页面标题变量并打印. (页面标题a)

在页面标题(a)中打印值之后,初始化值(在页面标题b中).
Define the variables (in your case 5 variables for page footer and 5 for page header - total 10 variables).

Use "whileprinting" option to assign the page total to the page footer variables.

In page header, insert new sub section page header(b).

Assign the values to page header variables and print it. (page header a)

After printing the values in page header (a), initialise the values (in page header b).


这篇关于将最后一行前进到水晶报表的下一页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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