PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
MmoPackMethod (Property)
In french: CompressionMMO
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
The Property CompressionMmo allows you to set the compression mode of the MMO file (containing the binary and text memos) associated to the data file. You can:
  • find out the compression mode for a memo file (data file defined in the data model editor or defined by programming).
  • modify the compression mode of memos (data file defined by programming only).
Example
// Description of a data file by programming
AFile is File Description
// Modify the compression mode of this data file
UnFichier.CompressionMmo = hPackZLW
Syntax

Finding out the compression mode of the memos Hide the details

<Current compression mode> = <Data file>.MmoPackMethod
<Current compression mode>: Integer constant
The two compression modes are:
hPackNoNo compression is performed on the memo file.
hPackZLWThe memo file is compressed according to the Ziw-Lempel algorithm, Welch implementation.
<Data file>: Character string (with or without quotes)
Name of data file used. This name was defined in the data model editor or by the File description type.

Defining the compression mode of the memos Hide the details

<Data file>.MmoPackMethod = <New compression mode>
<Data file>: Character string (with or without quotes)
Name of data file used. This name was defined by the File description type.
<New compression mode>: Integer constant
The two compression modes are:
hPackNoNo compression is performed on the memo file.
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