PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SelectionOnly (Property)
In french: SélectionSeule
..SelectionOnly is used to:
  • Find out which elements of the table or treeview table will be printed: print all records or the selected records only.
  • Modify the print mode of the table or treeview rows: 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.
Versions 18 and later
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
WINDEV MobileiPhone/iPadUniversal Windows 10 App This property is available for backward compatibility. The reports on table are not available.
New in version 18
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
WINDEV MobileiPhone/iPadUniversal Windows 10 App This property is available for backward compatibility. The reports on table are not available.
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
WINDEV MobileiPhone/iPadUniversal Windows 10 App This property is available for backward compatibility. The reports on table are not available.
Versions 19 and later
WINDEVWindows Mobile This property is now available for the "TreeView Table" reports.
New in version 19
WINDEVWindows Mobile This property is now available for the "TreeView Table" reports.
WINDEVWindows Mobile This property is now available for the "TreeView Table" reports.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// -- Opening code of report
// Prints the selected table rows only
RPT_Report1..SelectionOnly = True
// -- Opening code of report
// Prints all the table rows
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 Name>..SelectionOnly
<Result>: Boolean
  • True if the report will print the rows currently selected in the Table control only, 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 Name>: Character string (with or without quotes)
Name of "Report on table" report to use. Name of the "Report on table" or "Report on treeview table" report to use.

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

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