PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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 QueriesWindowsLinuxWindows MobileJavaAjaxUser code (UMC)HFSQLHFSQL 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, hLstDetail)
// 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