ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
iResetNbPages (Function)
In french: iRAZNbPages
Reinitializes the current number of pages, used in the preset controls such as "Number of pages" and "Page number and number of pages".
This function can be used when printing a set of invoices for example, to number the pages of each invoice independently.
Example
// Dans l'événement "Après impression du bloc de bas de rupture" 
// Réinitialise le nombre de pages pour que le nombre de pages soit affiché par rupture
iResetNbPages()
Syntax
iResetNbPages()
Remarks
  • This function must be called in the reports generated by the report editor only. IT must not be called in the programmed prints (iPrintXXX functions).
  • This function can be called in the middle of a sequence of reports (iSequencingAdd, iSequencingPrint).
  • This function is equivalent to the option "Reset the number of pages after printing the block" in the "UI" tab of the block description window.
Business / UI classification: Neutral code
Component: wd300etat.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help