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, ...).
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