PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
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>.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.
Remark: The current record was selected by the search functions (<Source>.ReadSeekFirst, <Source>.ReadSeekLast, ...).
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Find the customers from the customer named "Moore"
Customer.ReadSeekFirst(Name, "Moore")
IF Customer.Found() = True THEN
// Element found: cancel the search
Customer.CancelSeek(Name)
IF ErrorOccurred = True THEN
Error(HErrorInfo())
RETURN
END
WHILE Customer.Out() = False
 // Process
 ...
 // Read the next one without using the search criterion
 Customer.ReadNext(Name)
 END
END
Syntax
<Result> = <Source>.CancelSeek([<Item>])
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurred. 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 (with or without quotes)
Name of the file item for which the search criterion must be canceled.
If this name is not specified, <Source>.CancelSeek refers to the last item used in the data file.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment