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
KeySize (Property)
In french: TailleClé
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
The Property KeySize allows you to set the characteristics of an Item key of type memo text. You can:
  • Find out the size of the indexed part of the memo for an item defined in the data model editor or by programming.
  • Define the size of the indexed part of the memo (when the item is described by programming).
Example
MyMemoIndex is Item Description
MyMemoIndex.Name = "Comments"
MyMemoIndex.Type = hItemTextMemo
MyMemoIndex.KeyType = hUniqueKey
MyMemoIndex.SortType = hIncreasing
MyMemoIndex.AccentuationSensitive = False
MyMemoIndex.CaseSensitive = False
MyMemoIndex.PunctuationSensitive = False
MyMemoIndex.KeySize = 50
HDescribeItem(Book, MyMemoIndex)
Syntax

Finding out the size of the indexed part of the memo Hide the details

Size> = <Data file>.<Item>.KeySize
<Size>: Integer
Number of characters that will be indexed in the text memo.
<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.
<Item>: Character string (with or without quotes)
Name of item used. This name was defined in the data model editor or by the Item description type.

Defining the size of the indexed part of the memo Hide the details

<Item>.KeySize = <Indexed size>
<Item>: Item Description variable
Name of item used. This name was defined by the Item description type.
<Indexed size>: Integer
Size of indexed part of memo, expressed in number of characters.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment