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

ActiveReports for .NET 2.0 Support

Started by Nickster at 06-23-2005 3:19 PM. Topic has 3 replies.

Print Search Rate
Sort Posts:    
   06-23-2005, 3:19 PM
Nickster is not online. Last active: 6/5/2009 3:36:06 AM Nickster

Not Ranked
Joined on 06-23-2005
Posts 1
KeepTogether Event Firing?
I have a requirement to add "continued" to the bottom of a page if a detail section is split across two pages. Is there any way to know if keeptogether successfully (or un-successfully) fired... or what the value of KeepTogether is say, on PageFooter_Format? or is there another approach?

thanks.
   Report 
   06-24-2005, 1:31 AM
Eric is not online. Last active: 9/5/2006 7:45:47 PM Eric

Top 50 Posts
Joined on 07-21-2003
Posts 229

DDStaff
Re: KeepTogether Event Firing?

Attachment: PrintingContinue.zip
It will be difficult with only the detail section. The best approach is to use a group Header\Footer. 

1. Add Group Header\Footer
2. Set the GroupKeepTogether = all
3.  set the datafield to a primary key for the data, if you don't have one create an unbound field that has a new value every record and assign the GroupHeaders datafield to this unbound field.
4. Now you have a way to get the begin point and end point of the detail section(group).

I have attached a sample that shows how to write continued at the bottom of the page if a group spans more than a page (In your case the group header footer would fire for every detail record.)

Eric Johnson
Data Dynamics

   Report 
   01-13-2010, 1:12 PM
MEDReportGuy is not online. Last active: 7/18/2011 10:19:59 PM MEDReportGuy

Not Ranked
Joined on 07-08-2008
San Diego, CA
Posts 22
Re: KeepTogether Event Firing?
I have my group header/footers setup.  I'm using an end user version of the software and cant import the zip you have attached.  Is there any way you could add a sample of code showing how I can add the words "Continued" at the top of each additional page a group spans?  So if I have Group X and it spans 3 pages, I woudl like to add the word continued at the top of pages 2 & 3 for that group.

Thank you so much!

Ryan

Ryan Brown
Media Environment Design, Inc.
   Report 
   01-14-2010, 5:09 AM
AnkitN is not online. Last active: 6/8/2010 6:43:55 AM AnkitN

Top 25 Posts
Joined on 03-03-2009
Posts 844

DDStaff
Re: KeepTogether Event Firing?
Hello,

You cannot import the sample in the EDU, however you can use the similar code in the script designer of EDU to print “Continue...”.

To know more about scripting in ActiveReports for .Net 2.0 you may click here.

Regards,
Ankit Nigam



   Report 
GrapeCity » Product Support » ActiveReports f... » Re: KeepTogether Event Firing?

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