ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 26 of this documentation page. This feature may have been changed or removed in a higher version.
This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL functions / Compatible Hyper File functions
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
HInfoItem (Function)
In french: HInfoRubrique
Warning
This function is kept for backward compatibility.

WINDEV allows you to easily find out the item characteristics via the properties that can be used on the file items.

Below is the documentation of HInfoItem, available with WEBDEV 5.5.
 
Purpose
Retrieving information about an analysis item.
Syntax
  • Syntax 1: Information about a HF item from its name

    <ItemDesc> = HInfoItem(<LogicalNameHFFile>, <ItemName>)
    • <ItemDescription> is a string that contains the description of the item.
    • <LogicalFileName> is a string that contains the logical name of the file. This file must belong to the current analysis.
    • <ItemName> is a string containing the logical name of a file item.
  • Syntax 2: Information about a Hyper File item from its subscript in the list of items

    <ItemDesc> = HInfoItem(<LogicalFileName>, <ItemSubscript>)
    • <ItemDescription> is a string that contains the description of the item.
    • <LogicalFileName> is a string that contains the logical name of the file. This file must belong to the current analysis.
    • <Item Index > (subscript starts at 1) is an integer equal to the subscript of the Item in the list of Item s in the order given by HListItem
Details
The result of HInfoItem and the result returned by HListItem have the same format
<ItemName>+TAB+<Type>+TAB+<HFTyp>+TAB+<Size>+TAB+<ArrayNum>+TAB+<Text>
<ItemName> is the name of the item
<Type> corresponds to the type of the item, it can take for value: "T" for text or "N" for numeric.
<HFType> is the type of the Hyper File item, it can take for value:
  • 2: for a text item
  • 3: for an integer item
  • 4: for a short integer item
  • 5: for a long integer item
  • 6: for a simple real item
  • 7: for a double real item
  • 8: for a record number item
  • 9: for an unsigned integer item
  • 10: for a date on 6 item
  • 11: for a time item
  • 12: for a byte item
  • 13: for a real turbo item
  • 14: for a date on 8 item
  • 15: for a text memo item
  • 16: for a long text memo item
  • 17: for a currency item
  • 18: for a binary memo item
  • 19: for an image memo, sound memo, OLE memo or other binary memo item
<Size> specifies the size of the item
<NbTab> specifies the number of elements in the array
<Cap> is the caption of the key item.
Notes
  • This function only applies to the Hyper File files
  • This function is available in the external interface WDHF5.C
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/27/2020

Send a report | Local help