|
|
|
|
|
<Source>.Found (Function) In french: <Source>.Trouve
Not available with this kind of connection
Checks whether the current record corresponds to the current filter or search. <Source>.Found returns True if the current record exists and if one of the following conditions is met: - the data file browse is filtered and the current record corresponds to the filter conditions,
- the data file browse was started by a search and the current record corresponds to the sought value,
- the data file browse is neither filtered nor started by a search.
When an operation causes an exit from the filter or data file (i.e. when <Source>.Out returns True), <Source>.Found returns False. Remark: <Source>.Found corresponds to the H.Found variable.
Customer.ReadSeekFirst(Name, "Moore") IF Customer.Found() = True THEN Info("Record found") ELSE Error("No record found") END
Syntax
<Result> = <Source>.Find()
<Result>: Boolean - True if the current record corresponds to the filter or to the search,
- False otherwise. HError returns more details about the problem.
<Source>: Type corresponding to the specified source
Name of the data file, view or query used. Remarks The following functions modify the value returned by <Source>.Found: - <Source>.First, <Source>.Last,
- <Source>.ReadFirst, <Source>.ReadLast,
- <Source>.ReadNext, <Source>.ReadPrevious,
- <Source>.SeekFirst, <Source>.SeekLast,
- <Source>.ReadSeekFirst, <Source>.ReadSeekLast, <Source>.ReadSeek,
- <Source>.Forward, <Source>.Backward,
- <Source>.RestorePosition.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|