Tagging an R&R Report

R&R Report Writer® stores documents in .rrw or .rsw files, which are data-driven documents.  A data-driven document is one in which you insert placeholders where you want information from the fields in your database to appear within the report.  If your database has a field containing e-mail addresses, you can send different sections of a report to selected e-mail addresses.  For example, if you are sending invoices, you might insert the e-mail address of your clients' account payable contact into the invoice page header so that each invoice is sent to the correct client contact person.  All of the pages associated with the same e-mail address will be combined into a single PDF file.

Instead of using a database field to supply the e-mail address, you may optionally use a text field for the e-mail address if you always send a report to the same e-mail address, for example you may have a report you always send to JohnSmith@SmithCompany.com.  Another alternative is to use a calculated field to supply the e-mail address if you have special requirements for computing an e-mail address, for example if-then logic to select from among several e-mail addresses for each client. In any case, the easiest way to insert a PDF-eXPLODE tag into an R&R report is using a calculated field.

Insert a PDF-eXPLODE Tag

"<pdfexplode>" + e_mailAddr + "</pdfexplode>"

If you are using a Message ID Tag, for example invoice, then your tag would look as follows:

"<pdfexplode>invoice#" + e_mailAddr + "</pdfexplode>"