|
|
|
|
|
Extension (Property) In french: Extension
Available only with these kinds of connection
The Extension property is used to: - get the extension of a data file defined in the data model editor or through programming.
- define the extension of a data file (when the file is described through programming only).
// Find out the name and full path of the Customer data file NameAndFullPath is string NameAndFullPath = Customer.Directory + "\" + ... Customer.PhysicalName + Customer.Extension // NameAndFullPath corresponds to "C:\MyFiles\Customer.Fic"
// Define the extension of the AFile file AFile is File Description AFile.Name = "CUSTOMER" AFile.Extension = ".AAA" // The created file will be named "CUSTOMER.AAA"
Syntax
Finding out the extension of a data file Hide the details
<File extension> = <Data file>.Extension
<File extension>: Character string - Extension of the data file used (preceded by a dot).
- Empty string ("") if the data file has no extension.
<Data file>: Character string Name of the data file used. This name was defined in the data model editor or with the File Description type.
Defining the extension of a data file Hide the details
<Data file>.Extension = <New extension>
<Data file>: Character string Name of the data file used. This name was defined by the File Description type. <New extension>: Character string Extension of the data file used (preceded by a dot).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|