PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Search performed on a "punctuation-sensitive" item
  • Configuring the different search options for an item
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
PunctuationSensitive (Property)
In french: SensiblePonctuation
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
The PunctuationSensitive property is used to determine if punctuation characters (comma, period, etc.) are taken into account in the different searches performed on the item (with HReadSeek, HReadSeekFirst and HReadSeekLast, for example). You can:
  • Find out whether the searches performed on this item are punctuation-sensitive (item defined in the data model editor or through programming).
  • Define the punctuation management mode for an item (item described through programming).
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.
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
// Define the punctuation management mode for the Orders.Name item
Name.PunctuationSensitive = True
...
// Validate the data file description
HDescribeFile(Orders)
Syntax

Finding out whether the punctuation is taken into account Hide the details

<Result> = <Data file>.<Item>.PunctuationSensitive
<Result>: Boolean
  • True if the searches performed on this item are punctuation-sensitive,
  • False otherwise.
<Data file>: Character string
Name of the data file used. This name was defined in the data model editor or with the File Description type.
<Item>: Character string
Name of the item used. This name was defined in the data model editor or with the Item Description type.

Defining the punctuation management mode (item described through programming) Hide the details

<Item>.PunctuationSensitive = <New management mode>
<Item>: Character string
Name of the item used. This name was defined by the Item Description type.
<New management mode>: Boolean
  • True if the searches performed on this item are punctuation-sensitive,
  • False otherwise.
Remarks

Search performed on a "punctuation-sensitive" item

When a search is performed on a "punctuation-sensitive" item, only the sentences with matching punctuation characters will be found. Therefore, if the name of the customer is "Mr.Smith", the search performed on:
  • "Mr.Smith" will find the matching record,
  • "Mr Smith" will find no matching record.

Configuring the different search options for an item

  • To make searches accent-sensitive or insensitive, use the AccentSensitive property.
  • To make searches case-sensitive or insensitive, use the CaseSensitive property.
  • To make searches punctuation-sensitive or insensitive, use the PunctuationSensitive property.
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment