>I've got a database containing snippets of text needed for a tech doc being produced in Word. We're looking for a way to export specific fields/records of the database to the Word doc. We've been tinkering with mailmerges in Word, which might word, but what would seem a better solutionis if we could somehow embed codes in the database text fields that Word would recognize as bookmarks or styles instead of text. eg. field contents would be something like:
>
>"[Heading 1]This is some text that should go in the Word document."
>
>and "This is some text that should go in the Word document." would print in the Word doc with [heading 1] style applied to the text.
>
>Anyone heard of anything like this? Or is this just wishful thinking?
>
>thanks!
>
>Mandy
Mandy,
best solution for your problem would be to use the ole features of vfp and word not mail merge. You could define a template in word, with "placeholders" and then fill them from vfp (create a word object and then you have all the methods and properties of the word object model at your fingertips).
Hope this helps.
Vlad-Georg