General information
Category:
Reports & Report designer
Environment versions
Network:
Windows 2000 Server
.PAGENO should be *more* accurate than _PAGENO, in the sense that it covers a whole print run and is not changeable by users, it represents what the base reportlistener thinks is going on in terms of how many pages it has created, or is creating.
You may have found a bug. Do you think you can submit this as a simple repro (through the official connect site, please, but I'd like to see it also)?
You may also have found something that is not a bug but is related to the exact point at which you are checking the value, which may be sooner than the reportlistener actually starts preparing the next page.
Don't forget that Render may be called multiple times for the same instance of the same control. (Have you checked the continuation argument?)
You might want to use the DebugListener (you'll find it in _reportlistener.vcx, it's slightly improved in the CTP but substantially the same) to take a closer look at what's going on in this report. If you are using AdjustObjectSize (for MaxHeightAvailable) you will probably want to turn on the .Verbose switch.
>L<
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only