• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfdocument - cfdocumentsection and cfloop bug

Community Beginner ,
Jan 02, 2007 Jan 02, 2007

Copy link to clipboard

Copied

I am trying to prepare a series of reports from a database and have come across a nasty bug.

I want to produce n pdf documents so I gather my data with a query and loop through it producing a pdf for each record. This works great until I want to format the pages and use <cfdocumentsection>. As soon as I introduce it inside a loop i get an error "The document has no pages."

Attached are 3 simple examples to highlight the problem, the 1st works fine, the 2nd fails and if I take the 2nd example and remove the loop for the 3rd example all seems fine again.

I am running cf enterprise ver 7,0,2,142559 on XP SP2 in multi server mode. Does anyone have any ideas how to generate multiple pdf files with cfdocumentsections using a loop?

Regards

Doug Cain

TOPICS
Advanced techniques

Views

225

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 03, 2007 Jan 03, 2007

Copy link to clipboard

Copied

LATEST
This appears to be a bug, so I've submitted issue number 65863 for the problem.

Ted Zimmerman

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation