On Apr 25, 2008, at 11:21 AM, eCorpTech wrote:
I have a 3 page file. Page 1 is unused. Page 2 & 3 are my fronts &
backs. My data file has a field called Quantity with a number in it.
The data file has 50 records. I would like to print the fronts &
backs (pages 2&3) - the number of times that exists in the Quantity
field. Then when the next record starts, Page 1 gets printed one
time to act as a "slip sheet". Then page 2&3 print the number of
times in the quantity field and so on. I haven't achieved this
successfully yet, but wouldn't the OnRecordStart rule pull my unused
body page every time as the OnJobStart rule with the repeat record
comes first?
What conditions are you using to activate the "slip sheet" page?
There has to be something to key off of in the OnRecordStart rule to
know when to do that.
If each record has some kind of unique identifier in it, you can have
the OnRecordStart rule add the slip sheet whenever that value
changes. You can do something like this in OnRecordStart:
var FieldNameToCheck = "LastName";
var thisFieldValue = Field(FieldNameToCheck);
if (lastFieldValue != thisFieldValue)
FusionPro.Composition.SetBodyPageUsage("Slip", true);
lastFieldValue = thisFieldValue;
And add this in your JavaScript Globals:
var lastFieldValue = "";
This should trigger the slip sheet whenever you start a new batch of
records.
Or, if you don't have any unique identifier to key off of, you should
be able to add a field to specify when you're starting a new "batch"
of repeated records while you're rewriting your input file in
OnJobStart.
Dan
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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
--