ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with reports and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The SelectionOnly property is used to:
  • Find out which elements of the Table or TreeView Table control will be printed: print all records or the selected records only.
  • Change the print mode of rows in the Table or TreeView Table control: print all records or the selected records only.
This property can only be used in the opening code of a "Report on table" or "Report on treeview table" report.
Universal Windows 10 AppiPhone/iPad This property is available for backward compatibility. The reports on table are not available.
Example
// -- Opening code of the report
// Print only the rows selected in the Table control
RPT_Report1.SelectionOnly = True
// -- Opening code of the report
// Print all rows of the Table control
RPT_Report1.SelectionOnly = False
Syntax

Finding out the print mode of the rows found in a Table or Treeview Table control Hide the details

<Result> = <Report used>.SelectionOnly
<Result>: Boolean
  • True if the report will print the rows currently selected in the Table or TreeView Table control only,
  • False if the report will print all the control rows.
<Report used>: Report name
Name of the "Report on table" or "Report on treeview table" report to use.

Changing the print mode of rows in a Table or TreeView Table control Hide the details

<Report used>.SelectionOnly = <Type of print>
<Report used>: Report name
Name of the "Report on table" or "Report on treeview table" report to use.
<Type of print>: Boolean
  • True to print the rows selected in the Table or Treeview Table control only,
  • False to print all the control rows.
Remarks
The SelectionOnly property applies only to "Report on table" and "Report on TreeView Table" reports and can only be used in the opening code of the report.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help