ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Compression (Property)
In french: Compression
HFSQL Client/ServerAvailable only with this kind of connection
The Compression property is used to manage data compression during a connection (HFSQL Client/Server, etc.). You can:
  • Determine whether the connection sends compressed data.
  • Define whether the data transferred between the server and the client should be compressed. In this case, when you open a file that uses an open connection, that connection will be closed and reopened with the new parameters.
Reminder Data compression reduces the volume of data passing through the transmission medium (which can be an advantage for transmissions billed by the data transmitted). Data compression is supported from HFSQL server version 14. For more details, see Compressing frames.
Note: The connection can correspond:
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

Determining whether the connection sends compressed data Hide the details

<Result> = <Connection>.Compression
<Result>: Boolean
  • True if transmitted data is compressed,
  • False if transmitted data is not compressed.
Note Compression management is available from version 14 of the HFSQL server.
<Connection>: Character string or Connection variable
Name of the connection used. This name is defined:

Defining data compression for a connection Hide the details

<Connection>.Compression = <Data compression>
<Connection>: Character string or Connection variable
Name of the connection used. This name is defined:
<Data compression>: Boolean
  • True to compress the data,
  • False not to compress the data.
Note Compression management 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

Last update: 12/06/2024

Send a report | Local help