PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
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.

The documentation about HInfoItem available in WINDEV 5.5 is as follows.
 
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.
    • <ItemSubscript> (the subscript starts from 1) is an integer equal to the subscript of the item in the list of items 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+<TabNum>+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 required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment