very simply, something like this <cfdocument ..your attributes>
<cfloop query="your query"> the content for your docket <cfdocumentitem type = "pagebreak"/> </cfloop> </cfdocument> On Tue, Nov 13, 2012 at 3:05 PM, Anthony Doherty <[email protected]>wrote: > > Dave, > Sorry I dont understand what you mean? > > I have created a cfr file with the page layout defined to match the > delivery docket paper. > > I can browse directly to the cfr file and query it for one record which > displays fine but im not sure how to loop through this for all additional > order numbers and add to the one document > > Thanks > Anthony > > > On 13 November 2012 13:50, Dave Watts <[email protected]> wrote: > > > > > > Yes Russ thats correct but my issue is running the multiple query and > > appending the pdfs > > > > > > I have an array of order numbers and I have to loop through each number > > and to run the report that creates the pdf > > > when the pdf is created append it to the existing one if it exists and > > if not create it until all the number have been queried. > > > > > > Its the looping and appending that is the cause of my problem - Do you > > know how i can do this? > > > > This isn't really specific to PDFs. You use CFOUTPUT and/or CFLOOP > > just like you would if you were going to output HTML. You can use > > CFDOCUMENTSECTION and CFDOCUMENTITEM to divide the dockets, handle > > page breaks, etc. > > > > Dave Watts, CTO, Fig Leaf Software > > http://www.figleaf.com/ > > http://training.figleaf.com/ > > > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > > GSA Schedule, and provides the highest caliber vendor-authorized > > instruction at our training centers, online, or onsite. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353140 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

