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.
i is int
FOR i = 1 TO TableSelectCount(TABLE_Product)
TableSelectToFile(TABLE_Product, i)
Trace(Product.ProductID)
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 corresponds to an empty string (""), the Table control to which the current event belongs will 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