ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
Starts printing a report found in a group of reports.
Example
// Prepare a group of reports
nIndex is int = iGroupAdd(RPT_TO_Year_A4_Portrait, 2019)
iGroupConfigure(nIndex, "Statistics 2019")
nIndex = iGroupAdd(RPT_TO_Year_A4_Portrait, 2018)
iGroupConfigure(nIndex, "Statistics 2018")
iGroupPrint()
Syntax

Printing a report identified by its name Hide the details

<Result> = iGroupPrint([<Report to be printed>])
<Result>: Type of result returned by the report (optional)
Value returned by printing the report. This value is returned:
  • by the RETURN keyword used in the report closing code.
  • by ReturnedValue used before closing the report.
<Report to be printed>: Report name
Name of report to print. In the report viewer, a checkmark will be displayed in front of the caption of this report. This report was added into the group by iGroupAdd.
If this parameter is not specified, the printed report corresponds to:
  • the last report of the group chosen by the user in the report viewer.
  • the first report of the group (in the order of addition with iGroupAdd) if the report viewer has never been started.

Printing a report identified by its identifier Hide the details

<Result> = iGroupPrint([<Report index>])
<Result>: Type of result returned by the report (optional)
Value returned by printing the report. This value is returned:
  • by the RETURN keyword used in the report closing code.
  • by ReturnedValue used before closing the report.
<Report index>: Optional integer
Index of report to print. This index was returned by iGroupAdd when the report was added to the group. In the report viewer, a checkmark will be displayed in front of the caption of this report.
If this parameter is not specified, the printed report corresponds to:
  • the last report chosen by the user in the report viewer.
  • the first report of the group (in the order of addition with iGroupAdd) if the report viewer has never been started.
Component: wd300etat.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help