ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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>.CancelSeek (Function)
In french: <Source>.AnnuleRecherche
ODBCNot available with this kind of connection
Cancels the current search criterion. The browse of the data file can continue from the current record, without using any search criterion. The browsed records will not necessarily correspond to the search condition.
Note The current Record has been selected using the search functions (<Source>.ReadSeekFirst, <Source>.ReadSeekLast, ...).
Example
// Recherche des clients à partir du client "Martin"
Client.LitRecherchePremier(Nom, "Martin")
IF Client.Trouve() = True THEN
	// Elément trouvé : on annule la recherche
	Client.AnnuleRecherche(Nom)
	IF ErrorOccurred = True THEN
		Error(HErrorInfo())
		RETURN
	END
	WHILE Client.EnDehors() = False
		 // Traitement 
		 ...
		 // Lecture du suivant sans utiliser le critère de recherche
		 Client.LitSuivant(Nom)
	 END
END
Syntax
<Result> = <Source>.CancelSeek([<Item>])
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurs. HError is used to identify the error.
<Source>: Type corresponding to the specified source
Name of the source on which the search criterion must be canceled. This name can correspond to:
  • a data file (defined in the analysis).
  • a view,
  • a query.
<Item>: Optional character string
Name of the file item for which the search criterion must be canceled.
If this name is not specified, <Source>.CancelSeek handles the last item used in the data file.
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help