property ReplaceMode: TWPMMInsertTextContentsReplaceMode

<< Click to Display Table of Contents >>

Navigation:  Programming > Mail Merge (replace fields with data) and data forms > Update Field (Insert Text from Database) > Event OnMailMergeGetText > TWPMMInsertTextContents >

property ReplaceMode: TWPMMInsertTextContentsReplaceMode

This property controls how the replacement is performed. Usually this property is set when you do an assignment to the contents object.

 

wpconNoChange,

wpconStringValue - insert a string

wpconWideStringValue - insert a sting

wpconObject - load an object

wpconStream, - load text from a stream

wpconObjectParams - assigns the string value to the Params property of embedded object

 this is can be used to update the checked saetting of a checkbox. Please see our blog

 for an example