Mail Merge and adding fields to a pipeline
I am attempting to add a rich text memo to a report for use as a mail merge
field in a report. The problem I have run across is that I want to be able
to add a merge field in the memo that is not in the default pipeline, in
fact its not even in any pipeline. I have monkeyed around enough to see
that I can add a field to the pipeline and this makes it appear as a usable
field in the memo, but I have yet to figure out how to calculate the value
for the newly added field.
Which event of the pipeline can I use to calculate the field.
OnRecordChange? And how do I go about setting the value?
plData['fieldname'] := 'some text value'?
--
Michael Simons
Software Programmer
Steven J. Baum P.C.
msimons@mbaum.com
field in a report. The problem I have run across is that I want to be able
to add a merge field in the memo that is not in the default pipeline, in
fact its not even in any pipeline. I have monkeyed around enough to see
that I can add a field to the pipeline and this makes it appear as a usable
field in the memo, but I have yet to figure out how to calculate the value
for the newly added field.
Which event of the pipeline can I use to calculate the field.
OnRecordChange? And how do I go about setting the value?
plData['fieldname'] := 'some text value'?
--
Michael Simons
Software Programmer
Steven J. Baum P.C.
msimons@mbaum.com
This discussion has been closed.
Comments
OnCalculateFields event handler. The field will then be available to the
pipeline just like any other field.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
"Alexander Kramnik (Digital Metaphors)" wrote