PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Caution: This function is available for the Native XML Access only.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Enable all the possible automatic filters on the Customer data file
Customer.ActivateAutoFilter("*")
// except between Customer and Order
Customer.DeactivateAutoFilter(Order)
 
/////////////////////////////
 
// Browse the 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 (with or without quotes)
  • Name of the data file to not filter when positioned in the browse data file.
  • "*" to disable all the automatic filters.
Component: wd260hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment