ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old April 10th, 2008, 10:47 AM
Romaiin Romaiin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 4 Romaiin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 17 sec
Reputation Power: 0
Report Builder : incoming page break

Hi all,

I'm working on a report displaying a table, and below this table I would like to display a kind of summary, including some interesting values calculated from the table.

I included this summary table into the Report footer, because I don't know where the best place is.

The problem is : when generating the pdf file, there is a page break that apperas right after my values table. Then the summary table is created on page 2

I guess it is because my report footer is pretty large, it includes 2 parts :
- the summary table (about 5 lines)
- a big legality text

I wish I can cut this footer in to parts, then I guess the break would be after the summary table, and this will go to first page, right after my values table.

Any idea?

Thank you!

PS: I don't know if I explained correctly, but I didn't found any way to include my etst.pdf file

Reply With Quote
  #2  
Old April 11th, 2008, 06:35 AM
Ebot's Avatar
Ebot Ebot is offline
Meatball Surgeon
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Elbow deep in code
Posts: 1,040 Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)  Folding Points: 10015 Folding Title: Novice Folder
Time spent in forums: 1 Week 3 Days 3 h 37 m 17 sec
Reputation Power: 462
Well, what happens if you move the summary from the footer to just part of the regular document? Can you post your CF code?
__________________
The liver is evil and must be punished!

Reply With Quote
  #3  
Old April 11th, 2008, 10:27 AM
Romaiin Romaiin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 4 Romaiin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 17 sec
Reputation Power: 0
Hi Ebot,

I can't move my summary into Detail Band, or it is displayed at each line of my query.

I'm generating the pdf from a template .cfr, so the only CF code I have is this one:

Code:
<cfreport template = "Templates/TestInvoiceForum.cfr" format="pdf" filename="Templates/test.pdf" overwrite="yes">
	<cfreportparam name="orderId" value="#order_id#">
	<cfreportparam name="langageCode" value="#langage_code#">
	<cfreportparam name="siteId" value="#site_id#">
	<cfreportparam name="endUserId" value="#qryOrderSelect.idenduser#">
	<cfreportparam name="orderReference" value="#qryOrderSelect.order_reference#">
	<cfreportparam name="invoiceDate" value="#qryOrderSelect.invoiced_date#">
	<cfreportparam name="saleDate" value="#qryOrderSelect.creation_date#">
	<cfreportparam name="invoiceAddress" value="#invoiceAddress#">
	<cfreportparam name="shippingAddress" value="#deliveryAddress#">
	<cfreportparam name="invoicePhone" value="">
	<cfreportparam name="trackingNumber" value="#qryOrderSelect.tracking_id#">
	<cfreportparam name="carrierName" value="#qryOrderSelect.transporter_name#">
	<cfreportparam name="baanReference" value="#qryOrderSelect.baan_reference#">
	<cfreportparam name="shippingCost" value="#qryOrderSelect.shipping_costs#">
</cfreport>

Reply With Quote
  #4  
Old April 11th, 2008, 02:38 PM
Ebot's Avatar
Ebot Ebot is offline
Meatball Surgeon
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Elbow deep in code
Posts: 1,040 Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)  Folding Points: 10015 Folding Title: Novice Folder
Time spent in forums: 1 Week 3 Days 3 h 37 m 17 sec
Reputation Power: 462
I'm sorry, i asked for the wrong thing, can you post your report template?

Reply With Quote
  #5  
Old April 15th, 2008, 02:38 AM
Romaiin Romaiin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 4 Romaiin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 17 sec
Reputation Power: 0
mmm, where is the add file button? I don't find a way to post my template...



I'm trying to insert Datas + summary into a report, wich is called as subreport by another. I hope this will solve the prob'.

I tell you

Reply With Quote
  #6  
Old April 15th, 2008, 09:27 AM
kiteless kiteless is offline
Moderator
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,475 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 17 h 7 m 51 sec
Reputation Power: 42
Thanks Ebot for handling this. Since I don't use the report builder at all, I'm pretty much in the dark on this one.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #7  
Old April 23rd, 2008, 02:47 AM
Romaiin Romaiin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 4 Romaiin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 17 sec
Reputation Power: 0
Thumbs up Fixed !

Ok boys (and girls!)

I finally found something that works, even if it's not exactly what I've been expecting.

I used sub reports to split my main part + summary part like this:

* main report

Header ---------------

Blabla

----------------------
Detail-----------------

call subreport
----------------------
Footer----------------

Legal adverts, contacts etc...
----------------------

* subreport

Header ---------------
----------------------
Detail-----------------

My Data table (line by line)

----------------------
Footer----------------

My summary table

----------------------

Then the page break comes at the end of the subreport, and my summary table is still close to my detail table.

...
This is so hard to explain without linked files :P

But if somebody needs more information, then contact me, I'll be glad to explain

Last edited by Romaiin : April 23rd, 2008 at 02:48 AM. Reason: change title

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Report Builder : incoming page break


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway