ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
<Source>.DeactivateAutoFilter (Function)
In french: <Source>.Dé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 <Source>.ActivateAutoFilter.
Please note This function is only available for XML Native Access.
Example
// Enable all the possible automatic filters on the Customer data file
Customer.ActivateAutoFilter("*")
// except between Customer and Order
Customer.DeactivateAutoFilter(Order)

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

// Browse orders
Order.ReadFirst(OrderID)
WHILE Order.Out() = False
	// Browses the order lines of the current order
	OrdLine.ReadFirst(OrderID)
	WHILE OrdLine.Out() = False
		OrdLine.ReadNext(OrderID)
	END
	// Next order
	Order.ReadNext(OrderID)
END
Syntax
<Result> = <Source>.DeactivateAutoFilter(<Data file not to filter>)
<Result>: Boolean
  • True if the filter is disabled,
  • False if an error occurred (data file or item not found).
<Source>: Type corresponding to the specified source
Name of the data file used for the browse.
<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.
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/04/2024

Send a report | Local help