PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
Temporarily disables (or re-enables) the replication. The replication can be a logged replication or a universal replication.
The replication between HFSQL data files is automatically managed.
When the replication is "disabled", you have the ability to access the HFSQL Classic data files without storing the information required by the replication. Then, the replication management must be restored.
Caution: The use of this function is reserved to experienced programmers. We do not advise you to temporarily disable the management of replication and perform modifications on the data files. Indeed, problems may occur during the synchronization.
Note: The replication is not available when accessing a database via Remote access.
AndroidAndroid Widget iPhone/iPadWindows MobileUniversal Windows 10 App Only the universal replication is available.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 19 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
New in version 19
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
New in version 22
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Example
WINDEVWEBDEV - Server codeReports and QueriesAjaxUser code (UMC)HFSQLHFSQL Client/Server
// Disables the logged replication
HSetReplication(False)
// Add a value that will not be replicated
HAdd(Customer)
// Re-enables the logged replication
HSetReplication(True)
// Enables the universal replication
HSetReplication(rplReplicationUniversal)
Syntax
WINDEVWEBDEV - Server codeReports and QueriesAjaxUser code (UMC)HFSQLHyper File 5.5

Managing the logged replication between HFSQL databases Hide the details

<Result> = HSetReplication(<Management Mode>)
<Result>: Boolean
  • True if the replication was managed before the call to HSetReplication,
  • False if the replication was not managed before the call to HSetReplication.
<Management Mode>: Boolean
  • False to temporarily disable the management of replication,
  • True to re-enable the management of replication.

Managing the logged replication (between HFSQL databases) or the universal replication Hide the details

<Result> = HSetReplication(<Management Mode>)
<Result>: Integer constant
Former management mode of replication (before the modification):
rplReplicationDisabledThe replication was not managed before the call to HSetReplication.
rplReplicationUniversalThe replication performed before the call to HSetReplication was a universal replication (between HFSQL data files and data files handled by a Native Access for example).
Note: the rplReplicationHeterogeneous constant can be used for backward compatibility with the earlier versions.
rplReplicationLoggedThe logged replication between HFSQL data files was managed before the call to HSetReplication.
<Management Mode>: Integer constant
New management mode to use:
rplReplicationDisabledUsed to temporarily disable the management of replication.
rplReplicationUniversalUsed to perform a universal replication (between a HFSQL database and an Oracle database for example).
Note: the rplReplicationHeterogeneous constant can be used for backward compatibility with the earlier versions.
rplReplicationLoggedAllows you to perform a logged replication between HFSQL data files (uses the logged HFSQL data files).
Remarks
The log process is disabled when the replication is disabled. The log process can be re-enabled by HSetLog.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230rpl.dll
Windows Mobile wp230rpl.dll
Linux wd230rpl.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment