|
|
|
|
|
- Overview
- How to?
- Automatic mode
- Manual mode
User Groupware and Client/Server data files
Available only with this kind of connection
An application that uses the User Groupware can be used with an HFSQL database in Client/Server mode. In order for an application that uses the User Groupware to run in Client/Server mode, you must: - convert the existing application to Client/Server. For more details, see Client/Server.
- configure the User Groupware in order to use the data files on the server. This help page shows how to do it.
Automatic mode To convert the data files of the User Groupware to Client/Server: - On the "Project" tab, in the "Project" group, click "User Groupware".
- In the description window of the current project configuration, in the "User Groupware: Disabled" area, click "Change".
- In the window that appears, enable the User Groupware.
- Select the "Standard User Groupware".
- On the "Data files" tab, select "HFSQL Client/Server".
- Select "Click here to enter the server parameters". Specify:
- the server name.
- the port number.
- the username used for the database.
- the associated password.
- the database name.
- the directories of the data files.
- If there are data files specific to the User Groupware, copy them to the server.
Manual mode To convert the data files of the User Groupware to Client/Server: - On the "Project" tab, in the "Project" group, click "User Groupware".
- In the description window of the current project configuration, in the "User Groupware" area, click "Change".
- On the "General" tab, select "Manual start (programmatically)".
The User Groupware must not use the "Automatic start" mode in your application. - Select the different options of the User Groupware and validate the window.
- In the project initialization code, use gpwOpenConnection to define the connection to the HFSQL Client/Server database.
- If there are data files specific to the User Groupware, copy them to the server.
- Use gpwOpen to specify the location of the data files. The specified directory must be relative to the server directory.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|