I am using DocIO in ASP.Net Core to merge word documents from docx files created in Word (not template files created in code).
How do I format date and numeric fields.?
I've seen this post:
https://www.syncfusion.com/forums/116987/mailmerge-how-can-we-control-the-format-of-dates
The example given there is for a merge field created in code:
MERGEFIELD Date \\@ "dd-MMM-yyyy"
Do I type exactly that into the Merge Field in Word? I've tried various things, e.g. remove the backslash, remove the backslash and @ symbol but I can't get a sequence that actual works. If I just have Date part then it prints the date ok. It's just the format that is the problem.
And would numbers also work in the same way? e.g. I am expecting to be able to just use 0.00 to print a number with two decimal places.