ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
MmoPackMethod (Property)
In french: CompressionMMO
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The MmoPackMethod property sets the compression mode of a MMO file (containing text and binary memos) associated with a data file. You can:
  • get the compression mode of a memo file (data files defined in the data model editor or programmatically).
  • change the compression mode of a memo file (data files defined programmatically only).
Example
// Describe a data file programmatically
AFile is File Description
// Change the data file compression mode
AFile.MmoPackMethod = hPackZLW
Syntax

Getting the memo file compression mode Hide the details

<Current compression mode> = <Data file>.MmoPackMethod
<Current compression mode>: Integer constant
There are two compression modes:
hPackNoThe memo file is not compressed.
hPackZLWThe memo file is compressed according to the Ziw-Lempel algorithm, Welch implementation.
<Data file>: Character string
Name of the data file used. This name is defined in the data model editor or with the File Description type.

Defining the memo file compression mode Hide the details

<Data file>.MmoPackMethod = <New compression mode>
<Data file>: Character string
Name of the data file used. This name is defined with the File Description type.
<New compression mode>: Integer constant
There are two compression modes:
hPackNoThe memo file is not compressed.
hPackZLWThe memo file is compressed according to the Ziw-Lempel algorithm, Welch implementation.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/29/2024

Send a report | Local help