View Single Post
  #6   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Word Field Type - Fill In Prompt Problem (Word Insert Field in

However when I do right click and then "Toggle Field Codes", the "SOME
DEFAULT VALUE" text does not appear. It is just an empty string.


Understood.

At the end of the existing code, try

newField.Result.Text = "SOME DEFAULT VALUE";

(or whatever the correct syntax is for your language)

--
Peter Jamieson
http://tips.pjmsn.me.uk

"Evan Putranto" wrote in message
...
Hi Peter,

I think you got me wrong. The field is correctly displayed as
{FILLIN "SOME TEXT" \d "SOME DEFAULT VALUE"}

However when I do right click and then "Toggle Field Codes", the "SOME
DEFAULT VALUE" text does not appear. It is just an empty string.

While previously when using the standarised way (wdFieldFillIn) "SOME
DEFAULT VALUE" is there (assuming the user click OK on the prompt).

Regards,
Evan