I've gotten the multi page PDF to insert; but it is only inserting the
first page of the PDF 104 times (as many records).
How do I make the JS statement start on page one and insert the following
pages in order?
Here's the code:

//Create a new resource that references this 
        PDFresourceRef = CreateResource(pathToPDF ,'graphic' ,'no');

        //Find out how many pages it has
        pagesInPDF = PDFresourceRef.countPages;
        
        //return PDFresourceRef.name=;

        //This is the secondary loop for this script.
        //It will loop through and create markup for each page in the PDF.
        for (pageLoop = 1; pageLoop <= pagesInPDF; pageLoop++)
        {
                markupToReturn += '<graphic file="' + PDFresourceRef.name + '" 
pagenumber = "' + pageLoop + '" position="afterline"/>';
        }


markupToReturn += 'PDFresourceRef.name';

--
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
--

Reply via email to