Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Page Number reset in master page using Initialize
tambruce
Hi All,
I am getting the page numbers for separate groups starts from 1.My requirement is to display it in the footer of the page.Values are not displaying fro m 1 in the master page.It is displayed from 0 in the master page and 1 in the group footer layout page.I am using initialize method in the layout to declare PageCount=0;
This is my code to reset page number for inidividual group:
if (pageCount==0){
pageCount++;
total = Math.ceil(row["Aggregation"]/10);
prev = row["JUVENILE_ID"];
"Page " + pageCount;}
else if (row["JUVENILE_ID"] == prev){
pageCount++;
"Page " + pageCount;}
else {
prev = row["JUVENILE_ID"];
pageCount=1;
total = Math.ceil(row["Aggregation"]/10);
"Page " + pageCount;}
Please tell me suggestions to control wrapping of text in the layout page.
Find more posts tagged with
Comments
There are no comments yet