PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
Products
WinDevWebDev - Server codeWebDev - Browser codeWinDev MobileReports and Queries
Platforms
WindowsLinuxWindows MobileUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadApple Watch
Languages
JavaPHPAjaxUser code (UMC)External language
Databases
HFSQLHFSQL Client/ServerStored proceduresOLE DBODBCNative Accesses

Adds a report to a group of reports.

Note: Implementing a group of reports is used to display a specific combo box in the print preview. The reports found in the group are listed in this combo box and they can be displayed in the print preview. This features allows you to propose to the user:

  • a report in portrait mode and in landscape mode.
  • a report in different formats: A3, A4, letter US, ...
Example
// Print destination
iPreview()
// Create the group of reports
iGroupAdd(RPT_TO_Year_A4_Portrait, 2012)
iGroupAdd(RPT_TO_Year_A4_Landscape, 2012)
// Display the first report of the group in the preview
iGroupPrint()

Syntax
 <Result> = iGroupAdd(<Report Name> [, <Parameter 1> [, <Parameter 2> [, ...]]])
<Result>: Integer
Subscript of the report in the group of reports.
<Report Name>: Character string (with or without quotes)
Name of the report that must be added into the group.
<Parameter 1>: Optional parameters (the type corresponds to the type of the parameter)
Optional parameter expected by the report. This parameter was defined in the opening code of the report. This parameter can be the name of a view, the name of a memory zone, etc.
This parameter will be passed to the report when it is displayed in the print preview or when it is printed.
<Parameter 2>: Optional parameters (the type corresponds to the type of the parameter)
Optional parameter expected by the report. This parameter was defined in the opening code of the report. This parameter can be the name of a view, the name of a memory zone, etc.
This parameter will be passed to the report when it is displayed in the print preview or when it is printed.

Remarks
  • The parameters by address are not supported: the call to iGroupAdd copies the value of parameters during the call.
  • An icon and a caption are added by default into the combo box. This information can be customized by iGroupConfigure. The default caption corresponds to the dimensions and to the orientation of the report.
  • The report selected by default can be configured by iGroupPrint.

Components
WebDev - Server code wd210etat.dll
Linux wd210etat.so
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment