Sean,
There are several different directions you could go to accomplish this.
One, as Warren mentioned, would be to create a simple graphic rule like
the following:
return CreateResource(Field("Version Code") + ".pdf", "graphic");
The above would create one output file with the same number of
entries(records) with each record's declared version in the same order
as the main database. This may or may not work for you as you may end
up having to separate the different versions... by hand.
If you'd prefer to compose each version into separate output files, add
an OnRecordStart callback rule similar to the following:
var Version = Field("Version Code")
if (Version != "A")
FusionPro.Composition.composeThisRecord = false;
Once the above callback rule is created, compose using the main
database. The above simple states that if the version code does not
equal the displayed version (i.e. "A"), it don't compose it. When
complete, change the "A" to "B" inside this rule and repeat. Repeat
until finished.
Hope that helps!
Ryan
----------------
On Jun 22, 2007, at 10:44 PM, [EMAIL PROTECTED] wrote:
A client recently supplied 4 completly different layouts, and one
master
database file which contains roughly 250 entries. The first field is
"Version Code" which has either an A, B, C, or D for their values. I
then
have 4 PDFs created, named with their respected labels (A-D). I want to
figure out a simple script that says to only return certain entries.
For
example, there are only about 25 D's. So for the D layout, I should
only
end with 25 pages, not 250.
I know I can go in and create 4 different database files, but I'd like
to
figure out a script for this instead.
Any help would be greatly appreciated. Thank you.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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
--