Rob,
I have two surveys that I would like to incorporate into one
mailing. There is a survey (2 pages) for existing donors, and
another for unknown donors (2 pages). There is also a cover letter
that is common to both surveys. There is variable information on
both the cover letter. Is there a way to write a script to make
this happen. I forgot to mention, this is going to be printed on
11x17 folded to be inserted inline.
First, set up all necessary variables as needed. Once completed,
under Manage Pages --> Page Usage, you'll need to set each page(s)
name and usage. Check the "Unused" box for all of your survey pages
and leaving your cover letter page alone.
Second, create an OnRecordStart callback and use something similar to
the following:
----------------
if (Field("donor_code") == "Existing")
{
FusionPro.Composition.SetBodyPageUsage("Existing - Front", true);
FusionPro.Composition.SetBodyPageUsage("Existing - Back", true);
}
else
{
FusionPro.Composition.SetBodyPageUsage("Unknown - Front", true);
FusionPro.Composition.SetBodyPageUsage("Unknown - Back", true);
}
----------------
Remember to use the same name your labeled each page inside the above
code. The part at the end ("true") is the code which switches on the
page(s) on as needed based on your data. By leaving your cover letter
always on, it will compose with every record.
HTH,
Ryan
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
FusionPro 5.0 Now Available!
Variable text on a curve and soft drop-shadows for variable text
LIMITED TIME upgrade offer of $299 per license for current customers:
http://fusionpro.printable.com/store/upgrade
New licenses available for $599 each at:
http://fusionpro.printable.com/store/
All FusionPro 5.0 customers to receive FusionPro 5.1 with
Adobe Acrobat 8 and InDesign CS3 support when released for FREE.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm
--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--
--
Note: All e-mail sent to or from this address will be received or otherwise
recorded by the e-mail recipients of this forum. It is subject to archival,
monitoring or review by, and/or disclosure to someone other than the recipient.
Our privacy policy is posted on www.printplanet.com
--