ActiveReports Developers 7 Now Available in Beta!! (click for details)

Data Dynamics Reports Support

Started by thha at 04-14-2009 2:15 AM. Topic has 7 replies.

Print Search Rate
Sort Posts:    
   04-14-2009, 2:15 AM
thha is not online. Last active: 9/20/2011 7:46:34 PM thha

Not Ranked
Joined on 04-09-2009
Posts 19
How to set PrintAtBottom Property?
We are today using a Web implementation of Active Reports .Net and are looking to port our solution to DD Reports, as soon as we've worked out all the quirks :)

Thing is, several of our account companies can have access to the same report. An invoice design for example, displays the company logo in the page header and the contact information in the page footer. This poses a bit of a challenge in DDR as it does not support data binding in the page header or footer. We got to put this information in a data region's header and footer instead. And that is how it's by standard converted from an RPX-file.

The header part won't be a problem, but what about the footer; getting it to actually print at the bottom of every page (as we for that matter do with many other things like signature lines)? There's no design support for doing this in DDR today (1.6.1132).

Some digging in the documentation, though, revealed that there is such a property after all. Are we today not able to set this property in any way (as it appears to be read only)? As far as we can determine, this would make most of our designs pretty much impossible to replicate in DDR?



DataDynamics.Reports.Extensibility.Rendering.Components Namespace > IFooterBand Interface : PrintAtBottom Property
Indicates that this footer band will print at the bottom of the page.
Overridable ReadOnly Property PrintAtBottom As Boolean
Dim instance As IFooterBand
Dim value As Boolean
 
value = instance.PrintAtBottom

C#
virtual bool PrintAtBottom {get;}
   Report 
   04-15-2009, 2:03 AM
SandeepS is not online. Last active: 6/22/2009 9:57:37 PM SandeepS

Top 50 Posts
Joined on 12-11-2008
Posts 269

DDStaff
Re: How to set PrintAtBottom Property?
Hello,

I would like to tell you that we do not support banded list footer to be printed at the bottom on every page like the page footer. However there are two workarounds for implementing it:
1. If you can guarantee that a set of textboxes appears on every page then you could hide them and reference them from the page header or footer. For example: if you output the address in a textbox named ContactInfo that is output on every page, then you can access the value of that textbox from the page header/footer:
=ReportItems! ContactInfo.Value

2. Add the hidden report parameters in the report, set the default value of the parameters to the data set fields which should be shown at the bottom of every page(i.e. the contact information), then show the parameters in the page footer.

Regards,
Sandeep
   Report 
   04-16-2009, 3:57 AM
thha is not online. Last active: 9/20/2011 7:46:34 PM thha

Not Ranked
Joined on 04-09-2009
Posts 19
Re: How to set PrintAtBottom Property?
Both this options will work fine - we've tried option 2 successfully.

   Report 
   04-16-2009, 12:50 PM
Scott is not online. Last active: 4/10/2012 8:24:38 PM Scott

Top 50 Posts
Joined on 08-28-2004
Columbus, Ohio
Posts 549

DDStaff
Re: How to set PrintAtBottom Property?
Excellent. Thank you for the follow up.

   Report 
   02-26-2010, 2:49 AM
thha is not online. Last active: 9/20/2011 7:46:34 PM thha

Not Ranked
Joined on 04-09-2009
Posts 19
Re: How to set PrintAtBottom Property?
Is the above recommendation still the best option and if 'yes', do you intend to develop support for printing groupfooters at the bottom of the page?
   Report 
   03-11-2010, 5:43 AM
botr is not online. Last active: 4/14/2010 9:53:44 PM botr

Not Ranked
Joined on 02-08-2010
Posts 12
Re: How to set PrintAtBottom Property?
Method 2 is really a bad one.

If you use method two the report will generate a sql query per parameter per row.

ie. if you have 10 parameters set up like that and the SQL result is 10 rows the report will query the same query 100 times.

Not only will it do it 100 times it will also login och logout between every query.

If you have a query that takes 2 seconds it will take DDR 200 seconds to even start rendering the report.

That is not a good solution.

I have used SQL profiler to confirm this.
   Report 
   03-11-2010, 7:06 AM
James Johnson - DD is not online. Last active: 4/4/2012 11:24:49 AM James Johnson - DD

Top 50 Posts
Joined on 01-05-2006
Columbus, Ohio
Posts 525

DDStaff
Re: How to set PrintAtBottom Property?
Can you please attach the report showing this behavior? Thanks, James
   Report 
   03-11-2010, 7:28 AM
botr is not online. Last active: 4/14/2010 9:53:44 PM botr

Not Ranked
Joined on 02-08-2010
Posts 12
Re: How to set PrintAtBottom Property?

Attachment: STD_Faktura - Copy.rdlx
It's an invoice document.

It's set up to be able to handle more than one invoice at a time and individually give them a page number within the invoice.

There is a header part and a footer part on each page. The graphical header is actually not a page header but a Group header in the BandedList.

The footer is a page footer that need to be rendered in the bottom of every page.

I have now started experimenting with placing textboxes after the banded list and hiding them and then referencing them from the footer. It seems to work a lot better even tho it's a really ugly and hacky solution.


   Report 
GrapeCity » Product Support » Data Dynamics R... » Re: How to set PrintAtBottom Property?

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.