PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview
  • Switching from an HFSQL Classic database to an HFSQL Client/Server database
  • The different steps are as follows
  • Implementation
  • Step 1: Install an HFSQL Client/Server server if necessary
  • Step 2: Transfering (if necessary) the HFSQL Classic database (optional)
  • Step 3: Configuring the different products for using the Control Centers in Client/Server mode
  • Step 3: Tip
  • Using the Control Centers in Client/Server mode
  • Specific features of Client/Server
  • Managing contributors
  • Using the Feedback component with the Control Centers in Client/Server mode
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Using the Control Centers in Client/Server mode
Overview
All the Control Centers supplied with WINDEV, WEBDEV and WINDEV Mobile use the same database. This database can be a database in HFSQL Classic format or in HFSQL Client/Server format.
If you are already using the Control Centers, you have the ability to import the HFSQL Classic data into a Client/Server database. In this case, the data found in the Control Centers will also be available via ADSL. Therefore, it is easier for the developers to work remotely.
This documentation page explains how to switch from an HFSQL Classic database to an HFSQL Client/Server database.
Important: With a database of Control Centers in HFSQL Client/Server format:
  • the "Guest" connection mode of the Control Centers is not available anymore.
  • the mobile mode is not available for the Control Centers.
  • all the contributors of Control Centers are defined as users of the HFSQL Client/Server database.
  • if your WINDEV applications is using the "Feedback" component: to manage the user feedback, the applications must be modified. This modification is required if you are using the connected mode or ADSL (modification not required if the user feedback is performed by emails). See Using Feedback in ADSL for more details.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Switching from an HFSQL Classic database to an HFSQL Client/Server database

The different steps are as follows

  1. Install an HFSQL Client/Server server if necessary.
  2. Transfer the HFSQL Classic database of Control Centers into a new HFSQL Client/Server database. This step is optional. The import is required only if you are already using a database for the Control Centers.
    If no data is transferred, the HFSQL Client/Server database for the Control Centers will be created empty.
  3. Configure the Control Centers to use the HFSQL Client/Server database.
  4. Use the Control Centers.
Implementation

Step 1: Install an HFSQL Client/Server server if necessary

To use the Control Centers with an HFSQL Client/Server database, an HFSQL Client/Server server must be installed on a computer. The data files of Control Centers will be installed on this server.
To install HFSQL Client/Server, start your product setup pack and click "Setup of HFSQL Client/Server".
Remark: In WINDEV, the setup program of an HFSQL Client/Server server is supplied in the "\Install\HFSQL server" subdirectory of the setup directory of your product.

Step 2: Transfering (if necessary) the HFSQL Classic database (optional)

To transfer the data from the existing HFSQL Classic database to a new HFSQL Client/Server database:
  1. On the "Home" pane, in the "Environment" group, expand "Options" and select "General options of WINDEV/WEBDEV/WINDEV Mobile".
  2. In the "User" tab, click the "Parameters of Control Centers" button.
  3. In the window that is displayed, click the "Import wizard" button.
  4. The wizard for importing data starts.
    Wizard for importing data
  5. In this wizard, specify:
    • the directory containing the HFSQL Classic data files. The current path is proposed by default. This path can be modified if necessary.
    • the characteristics of the HFSQL Client/Serveur server to use:
      • the name or IP address of the server.
      • the name of the HFSQL Client/Server database to use. This database must be empty (without files) or not found (in this case, it will be automatically created).
      • the port that will be used for the connection.
    • the login and password of an administrator of the HFSQL Client/Server database. Indeed, the data can only be imported by an administrator (who has the rights to create files, ...).
      Remark: By default, the administrator of an HFSQL server can use "admin" as login, and no password.
    • "Add the contributors of Control Centers to the list of users of the HyperFileSQL server" allows you to automatically identify all the contributors via their login and password in the HFSQL Client/Server database.
      If this option is not checked, a new account will have to be created for each contributor when using the Control Centers with the HFSQL Client/Server database.
      If this option is checked, two groups of users are created on the HFSQL server: "Contributors of Control Centers" and "Administrators of Control Centers". These two groups automatically have the necessary rights to use the database of Control Centers in HFSQL Client/Server mode.
  6. Validate.
The import is started. During the import, the files of the Control Centers are automatically locked. This operation can take quite a long time.

Step 3: Configuring the different products for using the Control Centers in Client/Server mode

When the data found in the Control Centers is in HFSQL Client/Server format, all the users of WINDEV, WEBDEV, WINDEV Mobile and/or Control Centers must specify the new format of the database to use.
This indication can be given:
  • when installing WINDEV, WEBDEV or WINDEV Mobile.
  • in the options of WINDEV, WEBDEV or WINDEV Mobile:
    • On the "Home" pane, in the "Environment" group, expand "Options" and select "General options of WINDEV/WEBDEV/WINDEV Mobile".
    • In the "User" tab, click the "Parameters of Control Centers" button.
  • in the parameters of the Project Monitoring Center: expand Menu of Project Monitoring Center and select "Options".
All you have to do is specify:
  • the database in HFSQL Client/Server mode.
  • the name or IP address of the server.
  • the port used.
  • the database used.
Once the access mode to the data of Control Centers is configured, the Control Centers are used according to the same method.

Step 3: Tip

To simplify the configuration of the different computers that use the Control Centers, you have the ability to create a .reg file that can be run by each user on his computer.
This .reg file must contain the following information:
[HKEY_CURRENT_USER\Software\PC SOFT\CControle\23.0]
<ModeHF_CS>=dword:00000001


[HKEY_CURRENT_USER\Software\PC SOFT\CControl\23.0\HFConnection]
<ServeurConnexionHF_CS>=<Server Name>
"BaseConnexionHF_CS"=<Database Name>
"PortConnexionHF_CS"=dword:0000<Hexadecimal Port Value>
To find out the hexadecimal value of the port, open the Windows calculator (calc.exe) in scientific mode, enter the decimal value of the port (4988 for example) and click "Hex". The hexadecimal value is displayed (137C in our example).
Using the Control Centers in Client/Server mode

Specific features of Client/Server

In Client/Server mode:
  • The "Guest" mode is not available.
  • The mobile mode is not available for the Control Centers.
For security reasons (especially when using an ADSL connection), we recommend that you change the password of the administrator accounts. All the accounts must have a password.

Managing contributors

Two groups are automatically created on the HFSQL Client/Server server:
  • "Contributors of Control Centers".
  • "Administrators of Control Centers".
The rights granted to these groups are configured for using the Control Centers in Client/Server mode. These two groups have the rights to create files.
If an HFSQL Classic database was imported and if "Add the contributors of Control Centers to the list of users of the HFSQL server" was checked:
  • the contributors with administrator rights are automatically associated with the "Administrators of Control Centers" group,
  • the other contributors are automatically associated with the "Contributors of Control Centers" group.
If a new HFSQL Client/Server database was created or if "Add the contributors of Control Centers to the list of users of the HFSQL server" was not checked, the following screen will be displayed when the contributors establish the connection:
Unknown user
This screen is also displayed when a new contributor is trying to establish a connection.
This screen is used to:
  • Re-enter the name/password: if an error occurred during the identification.
  • Create the account: for a new user or if the existing contributors were not imported. In this case, the new contributors with administrator rights are automatically associated with the "Administrators of Control Centers" group and the other new contributors are automatically associated with the "Contributors of Control Centers" group.
  • Work in restricted mode: allows you to work with a local database (network problem, problem with the HFSQL server, ...). Caution: the information entered in this mode will not be applied to the database of Control Centers.
Using the Feedback component with the Control Centers in Client/Server mode
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment