|
|
|
|
|
<Source>.CancelSeek (Function) In french: <Source>.AnnuleRecherche
Not 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.
// 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 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|