|
|
|
|
|
- Overview
- Describing the Table control
- "Use HFilter to browse the file" option unchecked
- "Use HFilter to browse the file" option checked
- Filter property
- HFilter
Filters in Table fields linked to a data file
WINDEV, WEBDEV and WINDEV Mobile include multiple methods to filter the records displayed in a data-bound Table control: - Filter on the search key, defined in the description window of the Table control.
- Filter property.
- HFilter function.
- Optional event for filtering the records of a Table control. For more details, see Table control events.
Describing the Table control The "Display the records whose browse item starts with" option allows you to set a filter on a data-bound Table control. The filter has the following characteristics: - "Starts with" filter. The condition is directly entered in the editor.
- The filter is only applied to data-bound Table controls.
- The filter does not affect how the data file is read (HReadFirst, etc.)
The Filter property can be used to dynamically set the characteristics of the filter applied to the Table control.
HFilter filters the base file of the Table control. HFilter allows you to use all types of filters (including the "Starts with" filters). If HFilter is not used in the initialization code of the Table control, it is necessary to redisplay the contents of the Table control using TableDisplay. Note When a data-bound Table control is automatically filled (by WINDEV, WEBDEV or WINDEV Mobile), the Table control is not yet filled when the initialization code is executed. The records can be filtered with HFilter.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|