total at end and begining of pages

fido77777

Registered User.
Local time
Today, 10:17
Joined
Aug 5, 2007
Messages
23
i have a report which contain a lis of products sold and its cost

it contains many pages

i want to sum each page at the end of it

and use the sum at the next page as start value to be sumed with the following values


some thing like

for example
2nd page of report:
sum of previous page 1200
product 200
product 300
sum of current page 1700


and so on in all pages
 
The attached should be what you need.

I deleted the attachment and posted a new one in a separate thread
 
Last edited:
The attached should be what you need.

Your page header and footer totals do not work for the quantity on page 2.

I could not figure out your code. It would help to use more descriptive variable name other that a, b, c, d. Unfortunately, I believe it will be hard for most people to learn from your example.

Would it be possible for you to post a working example that uses more descriptive variable names so that maybe will willbe able to figure out what you are doling?

Thanks ...
 
Would it be possible for you to post a working example that uses more descriptive variable names so that maybe will willbe able to figure out what you are doing?
Yes, for examples things should be very straighforward so it is easy for those who have little, or no, programming background to see what is being done and learn from it. So, I would agree.
 
I had better have another look.

Will get back to you in due course.
 
I fixed that attachment and added some better naming conventions. (Not perfect just better)

I also added a bunch of comments in the code.

I believe I fixed the error.

Any comments please post back to me as I am always happy to learn.
 

Attachments

Users who are viewing this thread

Back
Top Bottom