PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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.
Remark: The replication is not available when accessing a database via Remote access.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
New in version 22
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Example
WEBDEV - Server codeAjaxHFSQLHFSQL 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
WEBDEV - Server codeAjaxHFSQLHyper 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).
Remark: 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).
Remark: 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.
Business / GUI classification : Business Logic
Component : wd250rpl.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment