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
Compression (Property)
In french: Compression
HFSQL Client/ServerAvailable only with this kind of connection
..Compression is used to manage the compression of data during a connection (HFSQL Client/Server, etc.). You can:
  • Find out whether the connection transmits compressed data.
  • Define whether the data transmitted between the server and the client must be compressed. In this case, if the connection is currently opened, it will be closed and re-opened with the new parameters during the first access to a file that is using this connection.
Reminder: The compression of data is used to reduce the volume of data flowing through the transmission media (this feature is interesting for the transmissions invoiced according to the volume of data transmitted). The data compression is supported from version 14 of the HFSQL server. See Compressing frames for more details.
Remark: The connection can correspond to:
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
MyConnection is Connection
// Describe the connection
MyConnection..User = "USER"
MyConnection..Password = "PASSWORD"
MyConnection..Server = "MYSERVER"
MyConnection..Database = "Test"
MyConnection..Provider = hAccessHFClientServer
MyConnection..Access = hOReadWrite
MyConnection..ExtendedInfo = "Extended information"
MyConnection..CursorOptions = hClientCursor
MyConnection..Compression = True

HOpenConnection(MyConnection)
Syntax

Finding out whether the connection transmits compressed data Hide the details

<Result> = <Connection name>..Compression
<Result>: Boolean
  • True if the transmitted data is compressed,
  • False if the transmitted data is not compressed.
Remark: The management of compression is available from version 14 of the HFSQL server.
<Connection name>: Character string (with or without quotes)
Name of connection used. This name was defined:

Defining the data compression for a connection Hide the details

<Connection name>..Compression = <Data compression>
<Connection name>: Character string (with or without quotes)
Name of connection used. This name was defined:
<Data compression>: Boolean
  • True to compress the data,
  • False not to compress the data.
Remark: The management of compression is available from version 14 of the HFSQL server.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment