Click here to Skip to main content
16,016,562 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted

1 solution

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).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900