ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Previous versions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
HInfoMemo (Function)
In french: HInfoMemo
ODBCNot available with this kind of connection
Returns the characteristics of binary and text memos.
Example
HReadFirst(Product, Name)
MemoInfo is string 
MemoInfo = HInfoMemo(Product, Name)
// Retrieve the name of source file of memo
FileName is string 
FileName = ExtractString(MemoInfo, 2, TAB)
Syntax

Finding out the characteristics of Memo item Hide the details

<Result> = HInfoMemo(<Data file> , <Memo item>)
<Result>: Character string
  • Information about the binary memo.
  • Empty string ("") if the memo is empty.
The information is separated by TAB characters. This information is as follows:
<Type>+TAB+<Name>+TAB+<Size>+TAB+<Date>+TAB+<Time>+TAB+<Info>
TypeType of memo. This parameter can take the following values: "TXT" for the text memos, "IMG", "WAV", "OLE", "BIN" or "BAD" ("BAD" indicates that the binary memo is not stored properly)
NameName of source file as it was specified in HLinkMemo.
SizeSize of source file in bytes. For a text memo, this size is expressed in number of characters.
DateDate of source file in "YYYYMMDD" format.
TimeTime of source file in "HHMMSS" format
InfoUser information as it was specified in HLinkMemo

If the memo is a text memo, the name, the date, the time and the user information are not filled. The type is set to "TXT".
Example of the value returned for a text memo of size 25: "TXT "+TAB+TAB+25+TAB+TAB+TAB.

If the memo is a binary memo that was not assigned by HLinkMemo, the name, date, time and information are not specified. The type is set to "BIN".
Example of the value returned for a binary memo of size 1202: "BIN "+TAB+TAB+1202+TAB+TAB+TAB.
Native Connectors (Native Accesses) The information about the memo will not be saved. The only information returned by HInfoMemo corresponds to:
  • the size of memo,
  • an empty string ("") if there is no size.
For example: "TXT" (or "BIN")+TAB+TAB+25+TAB+TAB+TAB.
<Data file>: Character string
Name of data file (query of view) used.
<Memo item>: Character string
Name of memo item to use.
Remarks

Previous versions

This function replaces BinaryInfo, which is kept for compatibility with WINDEV 5.5.
Component: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help