I have a task in which I must build complex documents on the fly using 
formatted text that must be customized (a la mail merging).  Some of the "bits" 
that go into building each report are going to run more than one page.

I note that R:Base's DB RTF field prints lovely, formatted text across multiple 
pages exactly as expected.

I also note that R:Bases standard RTF field has a powerful and simple to use 
mail merge feature.

My problem is how to get _both_ features on the same control.

I see two possiblities:

1. Use the standard RTF field and, when the band is formatted, use a variable 
and a PROPERTY command to move the database column data into the standard 
control's "text" or "lines" property (although I don't know what property to 
use, or whether this will correctly maintain the formatting.

2. Use a variable RTF field and perform the substitution using my own code or 
stored procedure.

I can't use the standard control outright because I can't pre-determine what 
text is going to go into there -- I will be printing one or more "clauses" 
selected from a table.  And I can't use the regular DB field since I need to do 
some text substitutions.

Has anyone tackled this problem?

(Oh, and to make it more complex, I will have to include in random places in 
the assembled document some "clauses" that are actually TIFF images of 
supporting documents).
--
Larry


Reply via email to