ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Table functions
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
Positions on the data file record corresponding to a row selected in the multiselection browsing Table control.
Remark: On a single-selection Table control based on a data file, the current record in the data file always corresponds to the element selected in the Table control.
Example
i is int
FOR i = 1 TO TABLE_Product.SelectCount()
TABLE_Product.SelectToFile(i)
Trace(Product.ProductID)
END
Syntax
<Table control>.SelectToFile(<Rank>)
<Table control>: Control name
Name of the Table control based on a data file to be used.
A WLanguage error occurs if this parameter does not correspond to a browsing Table control.
<Rank>: Integer
Rank of the selection. A WLanguage error occurs if this parameter does not correspond to an existing rank.
Remarks
This function can be used with a single-selection Table control based on a data file if and only if <Rank> is equal to 1
Component: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/20/2023

Send a report | Local help