Hello,
I have a word template with the following field code {MERGEFIELD Test \@ "ddMMyyyy" } in a Table. When I mailmerge.execute or mailmerge.executewithregions a date field with this code I get the following result 19/11/2009 00:00:00.
But I only whish to see the date part in my final word document.
When I convert a date field to a string with the following command in .NET
strDate = DateTime.Now.Date.ToString("dd-MM-yyyy") it gives me the correct format.
I get the date field from a dataset so I want to use the executewithregions command to dynamically populate the table(s) in my word template.
Can you help me with this ?