SourceFilename Property
The filename of the file where the source text for the merge process is stored.
property SourceFilename: string;
Description
Set the SourceFilename property before calling the Merge method to tell the component you want to merge the text contained in the file specified by the SourceFilename property.
Example
DataMerge.SourceFilename := 'c:\merge.txt';
DataMerge.MergeResult := msString;
DataMerge.Merge;
memo1.text := DataMerge.ResultText;