Crystal Reports® stores documents in .rpt 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 object 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 formula 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, you insert a PDF-eXPLODE tag into a Crystal report using a text object.
Insert a PDF-eXPLODE Tag
If you are using a Message ID Tag, for example invoice, then your tag would look as follows: