|
|
|
|
|
- Opening data files
- Record variable
HReset (Function) In french: HRAZ
Not available with this kind of connection
Initializes: - one or all variables of file items with their default values.
- one or all items of a Record variable with their default values.
The default values are defined when the data file is described in the data model editor. Remarks: - HReset does not modify the record in the data file, it only modifies the data in memory.
- The function HReset modifies the NewRecord property of the data file concerned: this property changes to Vrai.
HReset(Customer)
FileToPage()
Syntax
Initializing the file items with their default values Hide the details
<Result> = HReset([<Data file> [, <Item>]])
<Result>: Boolean - True if the initialization was performed,
- False if a problem occurs. HErrorInfo returns more details.
<Data file>: Optional character string Name of the data file used. If this name is not specified, HReset will use the last data file used by the last HFSQL function (function starting with "H"). <Item>: Optional character string Name of item to initialize. If this parameter is not specified or if it is equal to "*", the initialization will be performed for all data file items.
Remarks Opening data files HReset opens the data file used. Therefore, the data file must have been created.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|