Used to modify the management mode of memo items. You have the ability to manage all the memos of a data file or a specific memo item of a data file. The management of memos is enabled by default.
// Disable management of memos on observations of the Customer data file
HSetMemo(Customer, Item_Observations, hMemoNo)
Syntax
<Result> = HSetMemo([<Data file> [, <Memo item>, ]] <Management mode>)
<Result>: Integer
Old memo management mode used (before calling HSetMemo). | |
hMemoAuto (default value) | The memos are read during the access to the item. |
hMemoNo | No management of memos (no read or write operation will be performed on the data file or in the specified item). |
hMemoYes | The text memos are read whenever the record is read. The binary memos are read during the access to the item. |
<Data file>: Optional character string
Name of the data file used.
If this name is not specified or if it is equal to "*", all the memo files are taken into account.
<Memo item>: Optional character string
Name of the memo item to manage or not.
If this name is not specified or if it is equal to "*", all the memo items are taken into account.
<Management mode>: Integer constant
Management mode of the memo items: | |
hMemoAuto (default value) | The memos are read during the access to the item. |
hMemoNo | No management of memos (no read or write operation will be performed on the data file or in the specified item). |
hMemoYes | The text memos are read whenever the record is read. The binary memos are read during the access to the item. |
If only this parameter is specified, the management mode is applied to all the data files and to all the items.