ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Associating a file with a binary memo item Hide the details
True if the operation was performed, False if a problem occurred. HError is used to identify the error. The function will return an error if the file to associate is opened in write mode and if the hAcceptOpenedFile constant was not used.
Name of the data file (or query) containing a memo item. If only <Data file> and <Item> are specified, HLinkMemo cancels the existing link between the binary file and the item.
Name of the memo item of the data file into which the binary file must be added. If only <Data file> and <Item> are specified, HLinkMemo cancels the existing link between the binary file and the item.
Name of the file that will be associated with the binary memo item. This name can correspond to: the full path of the file to attach, a relative path (respective to the current directory) of the file to attach. If this parameter is not specified or if it corresponds to an empty string (""), the current link is deleted.
If a path is specified, this path must correspond to an existing file. Otherwise, a fatal error is displayed.
Indicates the type of file to attach and its read mode.hAcceptOpenedFileAllows you to read the source file that will be added to the memo if this source file is opened in write mode somewhere else.This constant can be used with the constants for file type.hMemoBin(default value)The file is an ordinary binary file.hMemoImgThe file is an image file.hMemoOleThe file is an OLE file.hMemoWavThe file is a sound file. This parameter is ignored. This parameter is available for the data files in HFSQL format only.
Information message (up to 65535 characters) stored with the file. This message can be read again by HInfoMemo. This parameter is ignored. This parameter is available for the data files in HFSQL format only.
Canceling the existing link
Difference between BinaryLoad and HLinkMemo
HLinkMemo and Remote Access (RPC)
Managing memos in SQLite
Last update: 12/08/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: