|
|
|
|
|
- Enabling and disabling a filter
- Number of possible active filters
- Operating mode in OLE DB
HActivateFilter (Function) In french: HActiveFiltre
Not available with this kind of connection
Enables the filter that was previously created for the specified data file (view or query). This filter was created by HFilter and disabled by HDeactivateFilter. HActivateFilter has no effect if no filter was declared. This function can be used with the data files, HFSQL views or queries.
HFilter(Customer, Age_Customer, 20, 60)
...
HDeactivateFilter(Customer)
...
HActivateFilter(Customer)
HReadFirst(Customer, Age_Customer)
WHILE HFound(Customer) = True
ProcessCustomer2060()
HReadNext(Customer, Age_Customer)
END
Syntax
<Result> = HActivateFilter([<Data file>])
<Result>: Boolean - True if the filter is enabled,
- False if an error occurred (data file or item not found).
<Data file>: Optional character string Name of data file, HFSQL view or query used. Remarks Enabling and disabling a filter Number of possible active filters A single filter can be enabled at a time for a specific data file.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|