NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjmiller on January 25, 2012, 10:55:57 AM

Title: PageNo in CPCS reports
Post by: rjmiller on January 25, 2012, 10:55:57 AM
The CPCS template provides a local variable to be used as page number (as well as a pageof control template).  The pageof control template functions as expected but the local variable ReportPageNo stays as 1 even though totaling type is set to pageno.  I would guess that the local is not getting updated from session variable.  Where would I put the p_web.GSV('ReportPageNo') to make sure it is updated?

  RJ
Title: Re: PageNo in CPCS reports
Post by: Bruce on January 25, 2012, 11:40:41 PM
Hi Rick,

I'm not all that familiar with the CPCS template, and even less so with the Page-Of-Page feature. However All NetTlak does is run the report procedure, and server the resulting PDF file. So if you inspect the CPCS generated code, and take a look at how the page-of-page works, then I'm sure the answer to your question will become fairly obvious.

cheers
Bruce