PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
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 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.
Versions 18 and later
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
iPhone/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 reports in iPhone/iPad applications.
iPhone/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 reports in iPhone/iPad applications.
iPhone/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 "TreeView Table" reports.
New in version 19
WINDEVWindows Mobile This property is now available for "TreeView Table" reports.
WINDEVWindows Mobile This property is now available for "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
// Print only the rows selected in the Table control
RPT_Report1..SelectionOnly = True
// -- Opening code of 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.

Modifying the print mode of the rows found 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
..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 version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment