ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Example: Displaying the characteristics of an item in the trace
HListItem (Example)
Example: Displaying the characteristics of an item in the trace
WINDEVWEBDEV - Server codeReports and QueriesWindowsLinuxJavaUser code (UMC)AjaxHFSQL ClassicHFSQL Client/ServerHyper File 5.5OLE DBNative Connectors (Native Accesses) This example is used to display all the characteristics of the item in a trace window. Each characteristic is extracted from the result of HListItem by ExtractString.
// Displays the characteristics of an item in the trace
sItemList is string
 
sItemList = HListItem(CUSTOMER, hLstDétail)
// Retrieves the first item
sItemList = ExtractString(sItemList, 1, CR)
// Displays the item name
Trace(ExtractString(sItemList, 1))
// Displays the item type
Trace(ExtractString(sItemList, 2))
// Displays the HFSQL type
Trace(ExtractString(sItemList, 3))
// Displays the size
Trace(ExtractString(sItemList, 4))
// Displays the number of elements
Trace(ExtractString(sItemList, 5))
// Displays the item caption
Trace(ExtractString(sItemList, 6))
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help