Liem:
you post is still there, however if you've opened it and read it, and have
the "hide read messages" checked in Outlook express (View -> Current View ->
Hide read messages) then it won't display again in your reader.
To create a total in each page, you've got to use either
1.) Use groups that display a single group for each page with a group header
and footer. In the detail section add a second control with the same field
control source that you want to total by page, set its control name to
TotalVal or something like that, and set the control's running sum property
to "OverGroup". Once you see that the running sum is correct, then set that
control's visible property to No. Then in the group footer, add a control
and set its control source to be = [TotalVal]. This will display the last
value (i.e. the last current total for the group) from the detail section so
you've got the total for that page; again assuming that the group will only
take one page.
2.) If you can't have a single page per group, then you've got to use VBA to
create the sum for the current page. This is pretty simple to do.
a.) Dimension a variable in the report's general section of its module, e.g.
Dim sngPageTotal as Single
b.) In the On Page event of the report, add code like this:
sngPageTotal = 0
c.) In the On Print event of the Detail section add code like this:
sngPageTotal = sngPageTotal + Me!ControlYouWantToTotalForThePage
d.) In the Page Footer, add an unbound control and in the On Print event for
that section add code like this:
Me!PageFooterControlName = sngPageTotal
--
Steve Arbaugh
ACG Soft
http://ourworld.compuserve.com/homepages/attac-cg
liem khen said:
Dear friends,
I am a newcomer in this newsgroup ,I wonder this morning (about 11.00 am) I saw my question.
but right now it is disappeared ? do I open the wrong place ?.
ok. If you do not mind,I just want to know how to put strings or texts in the page total.
as I read in the "access cookbook",we can create total in the page
footer.so that we can see the total in each page.