VFP and Word Merge

I am adding word automation to our VFP application. I like the ease of use of Bookmarks and have no problems navigating thru a document that has existing bookmarks. My problem is that users will need to create new documents and add bookmarks into the appropriate places of the new documentation. How do I provide the user with a pick list that will allow them to insert the available bookmarks. Is this a good approach for a mail merge or have people been using word fields

Stuart



Answer this question

VFP and Word Merge

  • Ozberg

    The drawback that you bring up is a very good one and eliminates the possibility of me using bookmarks. I will review the materials that you have indicated.

    Appreciate the feedback!

    Stuart


  • David Zokaites

    Bookmarks,form fields,merge fields,document variables etc all have places in automation. I'm not sure what you mean but if you mean mail merge then easiest way is to create a tab delimited txt file and make that source of mail merge.

    Bookmarks should already be in document to show in bookmarks list and if you want you can either add them to a new document or add a new document based on a template.


  • MaqboolHussain

    Bookmarks are okay, but have one major drawback--a given bookmark can only appear once in a document, so if you need the same data item more than once, you have to give it several different names.

    You can automate Word's mail merge as well, using mail merge fields. You can find information about how to do so on my website at http://www.tomorrowssolutionsllc.com/session_materials.htm. Look for the Automating Microsoft Word session.

    Tamar

  • VFP and Word Merge