|
|
|
|
|
<Source>.Reset (Function) In french: <Source>.RAZ
Not available with this kind of connection
Initializes one or more variables of the items found in a data file with their default values. The default values are defined when the data file is described in the data model editor. Remarks: - <Source>.Reset does not modify the record in the data file, it only modifies the data in memory.
- <Source>.Reset modifies the NewRecord property of relevant data file: this property is switched to True.
// Assign the default values to the items Customer.Reset() // Display PAGE_Customer.FromFile(Customer)
Syntax
Initializing the file items with their default values Hide the details
<Result> = <Source>.Reset([<Item>])
<Result>: Boolean - True if the initialization was performed,
- False if a problem occurs. HErrorInfo returns more details.
<Source>: Type corresponding to the specified source Name of the data file used. <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.
Opening files <Source>.Reset opens the data file used. Therefore, the data file must have been created.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|