Get the page count of a reportTag(s): Datawindow

Put the datawindow into print preview mode
dw_1.modify &
  ( 'datawindow.print.preview=yes' )
Get the result of the 'PageCount()' expression
ll_PageCount = &
   long ( dw_1.describe &
     ("evaluate('pagecount()'," + string ( dw_1.rowcount() ) + ")"))



If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2011
[ home ]