ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Table functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Positions on the data file record corresponding to a row selected in the multi-selection Table control based on a data file.
Note On a single-selection Table control, the current record in the data file always corresponds to the item selected in the Table control.
Example
i is int
FOR i = 1 TO TableSelectCount(TABLE_Produit)
	TableSelectToFile(TABLE_Produit, i)
	Trace(Produit.IDProduit)
END
Syntax
TableSelectToFile(<Table control> , <Rank>)
<Table control>: Control name
Name of the Table control based on a data file to be used. If this parameter is an empty string (""), the Table control of the current event will be used.
A WLanguage error occurs if this parameter does not correspond to a Table control based on a data file.
<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: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help