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
Replication (Property)
In french: Replication
HFSQLAvailable only with this kind of connection
..Replication is used to:
  • find out the replication mode used for a data file (defined in the data model editor or by programming).
  • specify the replication mode used for a data file (when the file is described by programming).
This property can only be used for a logged replication.
Example
// Checks whether the file is configured for the replication (logged replication)
IF Customer..Réplication = hNotReplicated THEN Info("Unable to replicate")
Syntax

Finding out the replication mode Hide the details

<Current mode> = <File name>..Replication
<Current mode>: Integer constant
The replication modes are as follows:
hNotReplicatedThe data file is not configured for a logged replication. To implement the logged replication, select "Replication" in the characteristics of the file in the data model editor.
hReplicatedThe data file is configured to be replicated.
hSubscriberReplicaThe data file is a subscriber replica (HCreateSubscriberReplica was used to create the subscriber replica)
hMasterReplicaThe data file is a master replica (HCreateMasterReplica was used to create the master replica)
<File name>: Character string (with or without quotes)
Name of the file used. This name was defined in the data model editor or by the File description type.

Defining the replication mode Hide the details

<File name>..Replication = <Replication mode>
<File name>: Character string (with or without quotes)
Name of the file used. This name was defined by the File description type.
<Replication mode>: Integer constant
The replication modes are as follows:
hNotReplicatedThe data file is not configured for a logged replication.
hReplicatedThe data file is configured to be replicated.
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment