I don't know how to print an RTF. But for the merging part, I suggest that you tell your users to use certain reserved characters for the fields, for example: < nombre > or < apellido > or whatever name you choose to give your fields.
Then, SCAN through your data table, replacing and printing once for each record.
As an alternative to the RTF TextBox, you might also consider connecting VFP with Word, either with or without Automation. Without Automation, it should be quite simple to program: have a VFP option to export to dBASE III or Excel format, and the user does the rest in Word.
>We would like to give our users the capability to define a letter template in a Rich Text Format box, merge it with data, and print it all from within our application.
>
>How can I accomplish this?
>
>TIA,
>
>Alex
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)