ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with reports and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The SelectionOnly property is used to:
  • Know which records in the Table or hierarchical Table control are printed: print all records or only selected records.
  • Change the print mode for Table or TreeView Table control rows: print all records or selected records only.
This property can only be used in the opening code of a "Report on table" or "Report on treeview table" report.
iPhone/iPad This property is available for backward compatibility. The reports on table are not available.
Example
// -- Code d'ouverture de l'état
// Imprime uniquement les lignes sélectionnées dans le champ Table
ETAT_Etat1.SélectionSeule = True
// -- Code d'ouverture de l'état
// Imprime toutes les lignes du champ Table
ETAT_Etat1.SélectionSeule = 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 only the rows currently selected in the Table or Hierarchical Table control,
  • False if the report will print all the lines in the control.
<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 only the rows selected in the Table or Hierarchical Table field,
  • 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/10/2025

Send a report | Local help