ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Extension (Property)
In french: Extension
HFSQL ClassicHFSQL Client/ServerAvailable 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 programmatically.
  • define the extension of a data file (for programmed data file description only).
Example
// Connaître le nom et le chemin complet du fichier de données Client
NomCheminCompletFichier is string
NomCheminCompletFichier = Client.Répertoire + "\" + ...
	Client.NomPhysique + Client.Extension
// NomCheminCompletFichier correspond à "C:\MesFichiers\Client.Fic"
// Définir l'extension du fichier de données UnFichier
UnFichier is File Description
UnFichier.Name = "CLIENT"
UnFichier.Extension = ".AAA"
// Le fichier créé sera "CLIENT.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 is 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 is defined with the File Description type.
<New extension>: Character string
Extension of the data file used (preceded by a dot).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/13/2025

Send a report | Local help