ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HDeactivateAutoFilter (Function)
In french: HDésactiveFiltreAuto
Native Connectors (Native Accesses)Available only with this kind of connection
Disables an automatic filter on the linked data files when browsing an XML file. This filter was enabled by HActivateAutoFilter.
Caution: This function is available for the Native XML Access only.
Example
// Enable all the possible automatic filters on the Customer data file
HActivateAutoFilter(Customer, "*")
// except between Customer and Order
HDeactivateAutoFilter(Customer, Order)

/////////////////////////////

// Browse orders
HReadFirst(Order, OrderID)
WHILE HOut() = False
	// Browses the order lines of the current order
	HReadFirst(OrdLine, OrderID)
	WHILE HOut() = False
		HReadNext(OrdLine, OrderID)
	END
	// Next order
	HReadNext(Order, OrderID)
END
Syntax
<Result> = HDeactivateAutoFilter(<Browse data file> , <Data file not to filter>)
<Result>: Boolean
  • True if the filter is disabled,
  • False if an error occurred (data file or item not found).
<Browse data file>: Character string
  • Name of the data file used for the browse.
  • "*" to disable all the automatic filters.
If <Browse data file> and <Data file not to filter> correspond to "*", <Result> is set to True and no filter is disabled.
<Data file not to filter>: Character string
  • Name of the data file to not filter when positioned in the browse data file.
  • "*" to disable all the automatic filters.
If <Browse data file> and <Data file not to filter> correspond to "*", <Result> is set to True and no filter is disabled.
Component: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/04/2024

Send a report | Local help