I'm using cfdocument to create dynamically create a pdf that includes multiple
biographies (my sample has three records from a database) . In some instances,
a persons biography is more than one page long. How can I display "continued
from previous page" on those biographies that are two pages in length, but yet
not display it for those biographies that are only one page.
rupesh_kumar - 20 Sep 2007 06:54 GMT
If you are using ColdFusion 8, then its fairly simple. You can do like this
inside cfdocumentItem tag.
<cfif CFDOCUMENT.CURRENTPAGENUMBER NE 1>
Continued from previous page..
</cfif>
Or if it is for DocumentSection, you can do
<cfif CFDOCUMENT.CURRENTSECTIONPAGENUMBER NE 1>
Continued from previous page..
</cfif>
Let me know if that does not work
Lucky Kitty - 20 May 2008 13:47 GMT
Finally got upgraded to 8, and then 8.01 and argh... this doesn't work. Do the scove variables inside cfdocument not work now??
Lucky Kitty - 09 Sep 2008 21:26 GMT
I have CF8 now, and this doesn't work.