|
|
|
|
|
HRecNum (Function) In french: HNumEnr
Available only with these kinds of connection
Returns: - the number of the current record in the HFSQL data file.
- the number of the current record in the HFSQL view.
// Current record in the "Customer" data file CurrentCustomerRec = HRecNum(Customer)
Syntax
<Result> = HRecNum([<Data file>])
<Result>: Integer Corresponds to:- the number of the current record in the data file.
- the number of the current record in the view or in the query (and not the number of the current record in the data file).
Caution: Used on an HFSQL Classic view, this parameter does not correspond to the value of the H.NumRec variable. - the hInvalidRecNum constant if there is no current record (position outside the data file).
HError returns more details about the problem.
<Data file>: Optional character string Name of HFSQL data file, query or view used. If this parameter is not specified, HRecNum will use the last data file used by the last HFSQL management function (function starting with "H"). Remarks Non-HFSQL data files - There is no record number on the data files.
- The call to this function triggers a WLanguage error.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|