PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
  • Type of variables saved
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
<Connection variable>.SaveParameter (Function)
In french: <Variable Connexion>.SauveParamètre
HFSQL Client/ServerAvailable only with this kind of connection
Saves a persistent value. This value can be read by <Connection variable>.LoadParameter.
Remark: The parameters are saved by database in the "user_param.fic" file.
Versions 22 and later
Remark: This function can be used with a HFSQL cluster.
New in version 22
Remark: This function can be used with a HFSQL cluster.
Remark: This function can be used with a HFSQL cluster.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Save a value
MyConnection is Connection
MyConnection.SaveParameter("MyParameter", 5)

Saving a parameter on the server (from the Client computer) Hide the details

<Result> = <Connection>.SaveParameter(<Parameter> , <Parameter value>)
<Result>: Boolean
  • True if the backup was performed,
  • False if an error occurred. HErrorInfo is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that describes the connection to use.
<Parameter>: Character string (with or without quotes)
Name of parameter to save. This parameter must not correspond to an empty string and it must not contain the "CR" character (Carriage return).
<Parameter value>: Type corresponding to the value to save
Value to save.
Remarks

Type of variables saved

<Connection variable>.SaveParameter is used to save the simple variables (string, integer, ...).
To save complex variables (objects, structures, etc.), these variables must be serialized as strings using Serialize.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment