Stops the manual iteration of data file linked to a Table control based on a data file. After the call to <Table>.End, the records found after the current record in the Table control will not be read.
// Stop browsing the file linked to the Table control "TABLE_ProductTable"
TABLE_ProductTable.End()
Syntax
<Table control>: Control name
Name of the Table control to be used.
Remarks
Use conditions
- <Table>.End can be used on a single-selection or multi-selection Table control.
- <Table>.End must not be used on the Table controls based on a data file that use an automatic iteration.
Events of the Table control
<Table>.End can only be used in the following events of Table controls:
- Initialization.
- Reading the previous record.
- Reading the next record.
Reinitialize the Table control
After calling
<Table>.End in an event of a Table control, re-display the Table control data. For example:
TABLE_TABLE1.Display(taInit)
Viewing the records found between two values
To view the records corresponding to an interval of values in a Table control, we recommend that you use
<Source>.Filter (instead of
<Table>.End).