PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Previous versions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HInfoMemo (Function)
In french: HInfoMemo
ODBCNot available with this kind of connection
Returns the characteristics of binary and text memos.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 20 and later
Java This function is now available for Java applications (for HFSQL data files).
New in version 20
Java This function is now available for Java applications (for HFSQL data files).
Java This function is now available for Java applications (for HFSQL data files).
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
HReadFirst(Produit, Nom)
InfoMemo is string
InfoMemo = HInfoMémo(Produit, Nom)
// Récupérer le nom du fichier original du mémo
NomFichier is string
NomFichier = ExtractString(InfoMemo, 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+<Nom>+TAB+<Taille>+TAB+<Date>+TAB+<Heure>+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 value returned by a text memo whose size is 25: "TXT"+TAB+TAB+25+TAB+TAB+TAB.

If the memo is a binary memo that has not been assigned by function HLinkMemo, the name, date, time and information are not filled in. The type is set to "BIN".
Example of value returned by a binary memo whose size is 1202: "BIN"+TAB+TAB+1202+TAB+TAB+TAB.
OLE DBNative 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.
Versions 19 and later
WINDEV

Finding out the characteristics of Memo item (Record variable) Hide the details

<Result> = HInfoMemo(<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+NOM+TAB+Taille+TAB+Date+TAB+Heure+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 value returned by a text memo whose size is 25: "TXT"+TAB+TAB+25+TAB+TAB+TAB.

If the memo is a binary memo that has not been assigned by function HLinkMemo, the name, date, time and information are not filled in. The type is set to "BIN".
Example of value returned by a binary memo whose size is 1202: "BIN"+TAB+TAB+1202+TAB+TAB+TAB.
OLE DBNative 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.
<Memo item>: Record variable
Name of memo item to handle via the Record variable. Use the following notation: <Name of record variable>.<Name of memo item>.
New in version 19
WINDEV

Finding out the characteristics of Memo item (Record variable) Hide the details

<Result> = HInfoMemo(<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+NOM+TAB+Taille+TAB+Date+TAB+Heure+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 value returned by a text memo whose size is 25: "TXT"+TAB+TAB+25+TAB+TAB+TAB.

If the memo is a binary memo that has not been assigned by function HLinkMemo, the name, date, time and information are not filled in. The type is set to "BIN".
Example of value returned by a binary memo whose size is 1202: "BIN"+TAB+TAB+1202+TAB+TAB+TAB.
OLE DBNative 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.
<Memo item>: Record variable
Name of memo item to handle via the Record variable. Use the following notation: <Name of record variable>.<Name of memo item>.
WINDEV

Finding out the characteristics of Memo item (Record variable) Hide the details

<Result> = HInfoMemo(<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+NOM+TAB+Taille+TAB+Date+TAB+Heure+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 value returned by a text memo whose size is 25: "TXT"+TAB+TAB+25+TAB+TAB+TAB.

If the memo is a binary memo that has not been assigned by function HLinkMemo, the name, date, time and information are not filled in. The type is set to "BIN".
Example of value returned by a binary memo whose size is 1202: "BIN"+TAB+TAB+1202+TAB+TAB+TAB.
OLE DBNative 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.
<Memo item>: Record variable
Name of memo item to handle via the Record variable. Use the following notation: <Name of record variable>.<Name of memo item>.
Remarks

Previous versions

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