Thank Raul,
Unfortunately... I was the original poster of "Splitting Records
based on a Field in the data Body".
Your suggestion does work and I currently use it or manually split
the database depending on the number of total records.
I simply want to automate the whole process since there are upwards
of 30-50 groupings. Composing the same database 30-50 times would
drive anyone crazy.
I understand Dan's original suggested process but am having a
difficult time with the last part. I somehow need to distill the data
into a temp. file and insert empty records up to the maximum records
per "chunk" or group. FusionPro would then skid or not compose the
empty records. I understand the ExternalDataFileEx part. I already
have a summery sheet based on the input file.
So I guess the question should really be...
How do I (or what is the javascript code to) insert the empty records
into the temp file?
Ryan
----------------------
On Jun 22, 2007, at 10:37 AM, [EMAIL PROTECTED] wrote:
What used for mine was one OnNewOutput File rule and an OnRecordStart
rule.
//OnNewOutput File
//You can use a CurrentRecordNumber function or get a specific
field value
//CurRec = CurrentRecordNumber();
Data = new ExternalDataFileEx("CAData.csv", ",");
Name = Data.GetFieldValue(2, "0");
FusionPro.Composition.outputFileName = "Group" + Name + ".pdf";
//OnRecordStart
// say you only want the group "GroupA" on your database to compose
and
skip the other records
if (Field("GroupName") != "GroupA")
FusionPro.Composition.composeThisRecord = false;
I may be going about this the wrong way but it seemed to work for me.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!
Do you have a question or lots of knowledge to share about FusionPro Web?
If so, join our Printable Web to Print Users' Forum today!
Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
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
--