I have a template document, where I gave the format to my merge field. When I create the Document from the template, text case is displaying as expected. I saved the generated document. Then I open the generated document, the data displayed is correct case. Now, I update my document and save. When I reopen the saved document again, I lost my case setting to the Merge field. the value is displaying in default case.
For instance, in my template “ClientCompleteFullNames” is a merge field with lower case. When document is created with my template, the value displays with lower case.
I updated the document, added some extra text and save changes.
When I reopen the document, I lost the case for my “ClientCompleteFullNames”, it displays with it’s default case.
I noticed that, when I open the document with my template
docPrecedent.Range.Text is MERGEFIELD ClientCompleteFullNames * Lower * MERGEFORMAT «clientcompletefullnames»
When I open the saved document
doc.Range.Text --> MR CONTACT and MRS CONTACT
How to retain my case, when I reopen the document?