ResultFilename Property
The filename of the file where the merged result will be saved to.
property ResultFilename: string;
Description
Set the ResultFilename property before calling the Merge method to tell the component you want the result of the merge process to be saved to the specified filename. Setting the ResultFilename property automatically sets the MergeResult property to msFile.
Example
DataMerge.SourceText := memo1.text;
DataMerge.ResultFilename := 'c:\result.txt';
DataMerge.Merge;
memo1.lines.loadfromfile('c:\result.txt');
See Also