|
|
|
|
|
HInfoMemo (Function) In french: HInfoMemo
Not available with this kind of connection
Returns the characteristics of binary and text memos.
HReadFirst(Product, Name)
MemoInfo is string
MemoInfo = HInfoMemo(Product, Name)
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> | | Type | Type 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) | Name | Name of source file as it was specified in HLinkMemo. | Size | Size of source file in bytes. For a text memo, this size is expressed in number of characters. | Date | Date of source file in "YYYYMMDD" format. | Time | Time of source file in "HHMMSS" format | Info | User 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.
<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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|