|
|
|
|
- Incrementing the version number of the data file
- Multi-file queries
<Source>.Version (Function) In french: <Source>.Version
Not available with this kind of connection
Allows you to find out: - whether the content of a data file was modified.
- whether the content of a data file used by a query was modified.
This function is used to detect the modifications made to a data file shared among several programs. If a modification is detected, you have the ability to refresh the data displayed in the window or in the page.
VerNum = Customer.Version()
// First evaluation of the data file version VerNum is int VerNum = Customer.Version() // Processes // Second evaluation of the data file version IF VerNum <> Customer.Version() THEN Info("The Customer data file was modified.") END
Syntax
<Result> = <Source>.Version()
<Result>: Integer Version number of the data file.
<Source>: Type corresponding to the specified source - Name of the data file used.
- Name of the query used.
Remarks Incrementing the version number of the data file Remark: <Source>.Version can be used on indexed or non-indexed data files. Multi-file queries In the case of a multi-file query, <Source>.Version returns the sum of the <Source>.Version of all data files used in the query.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|