PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Enabling the .REP
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
HSetREP (Function)
In French: HGèreREP
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
Enables or disables the management of .REP file. See .REP file for more details.
Windows Mobile The .REP corresponds to the list of data files used by the application. See List of data files handled by an application for more details.
Note: The management of .REP file is enabled by default.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Disables the management of .REP file
HSetREP(False)
Syntax
<Result> = HSetREP(<Management> [, <Path of .REP> [, <Name of .REP File>]])
<Result>: Boolean
Corresponds to the former management mode of .REP file (before the call to HSetREP):
  • True if the management of .REP was enabled,
  • False if the management of .REP was disabled.
<Management>: Boolean
  • True if the management of .REP is enabled,
  • False if this management must be disabled.
<Path of .REP>: Optional character string (with quotes)
If this parameter is specified, HSetREP is using the .REP file found in the specified directory.
If this parameter is not specified, the default path corresponds to:
  • the previous path of .REP specified for the current analysis.
  • if no path was specified beforehand:
    1. the path of the analysis (.WDD),
    2. the path of the application library (.WDL)
    3. by default, the path of the application (.EXE). This is the most common case.
Windows Mobile This parameter is not required. The list of data files used by the application is saved in the registry of the Mobile Device (Pocket PC).
<Name of .REP File>: Optional character string (with quotes)
If this parameter is specified, HSetREP uses this name for the .REP file.
If this parameter is not specified, the name of the analysis is used as name for the .REP file.
In all cases, the extension of the .REP file is ".REP".
Windows Mobile This parameter is not required. The list of data files used by the application is saved in the registry of the Mobile Device (Pocket PC).
Remarks

Enabling the .REP

  • After HSetREP(True), the .REP will be updated whenever a data file found in the current analysis is opened or created. Then, the tool for automatic modification of data files will be able to identify the files that must be modified.
  • After HSetREP(False), the .REP will not be updated. In this case, the location of these files must be specified manually to the tool for automatic modification of data files. If the name of.REP is specified, this name will be used for the next activation (if a new name is not specified meanwhile).
  • The .REP file is managed by context. A component that uses an independent HFSQL context will not be impacted by the call to HSetREP.
Note: When the .REP is not the default one, its location is stored in the HFRep.ini file. This file is found in the "Application Data\PC SOFT" directory of the shared data of the application (for backward compatibility with the earlier versions, this file can also be found in the Windows directory).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Linux wd230hf.so
Windows Mobile wp230hf.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment