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
HSetCache (Function)
In french: HGèreCache
HFSQL Client/ServerAvailable only with this kind of connection
Used to configure the management of caches in the HFSQL Client/Server engine.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
HSetCache(hPageSize, 2000)
Syntax
<Result> = HSetCache(<Parameter to modify> [, <File name> [, <Item name>]] , <Value>)
<Result>: Integer
Former value of modified parameter (value before modification).
<Parameter to modify>: Constant
Parameter of the cache to modify:
hPageSizeSize of a block of caches. This block of caches will be used when browsing a data file.
A large block of caches improves the browse and increases the transfers via network and the memory consumption.
This parameter corresponds to the number of records read during the browse.
<File name>: Optional character string (with or without quotes)
Name of the data file to which the modification must be applied.
If this parameter is not specified, the modification is applied to all the data files.
<Item name>: Optional character string (with or without quotes)
Name of the item to which the modification must be applied.
If this parameter is not specified, the modification will be applied to all the items found in the specified data file.
<Value>: Integer
New value that must be given to the parameter.
For the hPageSize constant, this value must be included between 1 and 5000 (the default value on a PC is 1000 and the default value on a Pocket PC is 10).
Component : wd240hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment