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
Allows you to read the configuration of the replication for a HFSQL server taking part in one or more replications.
This function can be run on a master server or on a subscriber server.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
Trace(HRSInfo(Cnt))
Syntax
<Result> = HRSInfo(<Connection>)
<Result>: Character string
Information regarding the different replications performed on this server. This information has the following format:
<Server role> + TAB + <Server identifier> + TAB + <Port> + TAB + <Priority>
where:
  • <Server role> corresponds to an integer constant used to find out the role of the server in the replication:
    hrsSubscriberSubscriber computer in the replication between HFSQL servers.
    hrsInactiveInactive computer in the replication between HFSQL servers.
    hrsMasterMaster computer in the replication between HFSQL servers.
    hrsMaster + hrsSubscriberMaster and subscriber computers in the replication between HFSQL servers (for a bi-directional replication).
  • <Server identifier> corresponds to the number used to identify the current HFSQL server among all the servers taking part in a replication.
  • <Port> corresponds to the TCP/IP port used for the communication between servers.
  • <Priority> corresponds to the priority number of the server used in case of resolution by priority during a modification conflict.
<Connection>: Character string (with or without quotes)
Connection to the HFSQL server. This connection was defined in the data model editor, or by programming with HDescribeConnection or HOpenConnection.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment