View Single Post
 
Old 12-20-2017, 12:37 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If the «Service_AS» output is what shows up on the resulting PDF after the C# service is run, that indicates your C# service is not updating/replacing that field.
Quote:
Is it crazy to think that perhaps this form was originally created as a proper Mail Merge doc and then somehow turned into a normal doc, and now adding fields isn't possible?
A document doesn't need to be a mailmerge main document for someone to create mergefields in it. That can be done quite simply by pressing Ctrl-F9 to create the field braces (i.e. {}), then typing the relevant details between them (e.g. {MERGEFIELD MyField} which, when updated, displays as «MyField»).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote