ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / Managing xBase files / WLanguage functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
HDBSortType (Function)
In french: HDBTypeTri
Native Connectors (Native Accesses)HFSQL ClassicAvailable only with these kinds of connection
Returns or modifies the sequence of text items in the xBase files.
Example
nTypeTri is int
// Récupère le type de tri
nTypeTri = HDBSortType()

// Change le type de tri
SWITCH nTypeTri
	CASE hDBASCII : Info("Tri ASCII")
	CASE hDBLexicographic
			  HDBSortType(hDBASCII)
			  Info("Tri Lexicographique changé en tri ASCII")
	OTHER CASE
			  Info("Erreur : Tri inconnu")
END
Syntax

Modifying the order sequence Hide the details

<Result> = HDBSortType(<Type of sort>)
<Result>: Constant
Type of sort order used before changing the order:
hDBASCIISort according to ASCII order.
hDBLexicographicLexicographic sort.
<Type of sort>: Constant
Type of sort to use:
hDBASCII
(Default value)
Sort according to ASCII order.
hDBLexicographicLexicographic sort.

Finding out the order sequence Hide the details

<Result> = HDBSortType()
<Result>: Constant
Type of order currently used:
hDBASCII
(Default value)
Sort according to ASCII order.
hDBLexicographicLexicographic sort.
Remarks
This function is not available when using a stand-alone executable.
Component: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help