ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Example 1: Creating a password-protected empty data file
  • Example 2: Creating an empty data file
  • Example 3: Creating a data file by changing its name
HCreation (Example)
Example 1: Creating a password-protected empty data file
The following example creates the "Customer" data file, directly protected by a password.
// Création du fichier "Client"
HCreation(Client, "LUCILE1999")
Example 2: Creating an empty data file
This example creates the "Supplier" file and specifies its password with HPass.
// Declare the password
HPass(Supplier, "LUCY1999")
HCreation(Supplier)
Example 3: Creating a data file by changing its name
This example is used to create the data file named "JanuaryStatistics.FIC". This physical file corresponds to the "STAT" file described in the analysis.
// Création des statistiques mensuelles pour le mois de janvier
HChangeName(STAT, "StatistiquesJanvier")
HCreation(STAT)
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help