>A better course of action, if you can control document creation, is to set up the document with the appropriate list of fields (using a MailMerge header source), so the user can pick the fields from the list of what will actually be available.
>
>Tamar
I am working on this very issue right now. And I don't seem to be able to make it work
I am using your book, and I don't need bookmarks and fields added to the document, just to the fields menu. and that does not happen. :-(
oword.visible=.t.
...
...
oDocument.MailMerge.CreateHeaderSource( cDocument, , , cFieldList )
when I go onto the word doument there is no fields menu under the mail merge (word2003, vfp9sp1,xpsp2).
It's grayed out
Peter
Peter Cortiel