Hi,
Is it possible to clear the inspname in the onMailMergeGetText event so that the field can not be merged a second time?
I still want it to be marked as a mailmerge field thou:-)
Best regards
Ove Halseth
Hi,
Is it possible to clear the inspname in the onMailMergeGetText event so that the field can not be merged a second time?
I still want it to be marked as a mailmerge field thou:-)
Best regards
Ove Halseth
Hi,
If you want to do that, You can access Contents.StartInspObject.Name and change it.
On second look this makes sense. For example if the user modifies the field after the merge process and such changes should not be lost.
But it is better to keep the name to -maybe- save back the changed data into the DP. In the event OnMailMergeGetText You have full control if You add new data or not. You can use the StartInspObject.Source property to remember if the field has been merged before.
Julian
Thans Julian.
We ended up setting a merged flag in Contents.StartInspObject.Source
Best regards
Ove B-)