AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
Modifies the location of the subscriber replica's description ("*.rpl" file). This function must be used on the subscriber computer.
This is an advanced function of log-based replication. It should be used when handling databases not connected by network for example. In this case, the master replica and the subscriber replica are created on the same computer (master computer). The "rpl" file (subscriber replica file) is then copied to the subscriber workstation.
This file can be installed:
  • or in the replication directory indicated in the analysis (sub-directory "_ASLASH_ RPL" of Default data files).
  • in another directory. In this case, the subscriber application must use HChangeRplDir to specify the location where the file of subscriber replica must be sought. Indeed, when the subscriber data file is opened, the RPL file is read in order to define the range of automatic identifiers used by the data file.
By default, the replication files are managed in the directory specified in the analysis ("Analysis description", "Log process" tab).
Analysis information
Ejemplo
// Le fichier "rpl" se trouve dans le même répertoire que les fichiers de données
HChangeRplDir(".")

// Le fichier "rpl" se trouve dans le sous-répertoire des fichiers de données \RPL
HChangeRplDir(".\RPL") 

// Le fichier "rpl" se trouve dans le répertoire "X:\Data\RPL"
HChangeRplDir("X:\Data\RPL")
Sintaxis
<Result> = HChangeRplDir(<Location of subscriber replica file>)
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurs. HErrorInfo is used to identify the error.
<Location of subscriber replica file>: Character string
New path access to "*.rpl" file corresponding to subscriber replica (full or relative path). This directory is used:
  • when opening an HFSQL data file in replication on the subscriber computer. The range of automatic identifiers is updated.
  • when performing the synchronization (HSynchronizeReplica for example) if no directory is specified.
    Remark: if the directory is a relative directory, the directory will be relative to the default directory of the data files defined in the analysis.
Clasificación Lógica de negocio / UI: Lógica de negocio
Componente: wd290rpl.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/03/2024

Señalar un error o enviar una sugerencia | Ayuda local