[SOLVED] Printing FooterRows |
Post Reply |
Author | |
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
Posted: 16 March 2011 at 11:57am |
Hi,
I have a added a FooterRow to the ReportControl in order to be used to display totals, which works perfectly (see screenshot below). The Issue I have is that when I print the ReportControl the FooterRow is no longer at the bottom of the Printed Report, instead it is located after the last Grid Row record (technically still at the bottom!). However I would prefer the FooterRow to stay as it is in the ReportControl. Does anyone know if there is a setting to do this? |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Hi,
there is currently no such option. We will add it to one of the next releases. Andre |
|
Codejock support
|
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Hi,
Thanks for the response on this. I was confused as I had not pinned the FooterRow so I thought it would print at the bottom as it displays on screen. Pinning the FooterRow means it's displayed as it is shown in the Print Preview screenshot, so I wasn't sure if I was missing something or not. I just believe in consistency i.e. if it displays that way then the print should also display that way, will look out for this in the next few releases. Thanks again. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
cbs
Newbie Joined: 22 March 2011 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hi Xander75,
I have looked at various ways to add totals in the footer row. Can you share how you implemented the footer totals? Thanks, CBS |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Hi cbs,
Sure I can share how I did this. Below is an snippet of code I added when setting up the ReportControl. This will create the FooterRow at the bottom of the ReportControl. I also used BeforeDrawRow to right align the text "Totals:". Then I have a procedure I call to calculate the totals if the user makes a change in the ValueChanged event.
Hope this helps. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
cbs
Newbie Joined: 22 March 2011 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hi xander75,
This is what I was looking for. I appreciate the help. Thanks, cbs |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Added for the next release: PinFooterRowsPrinted
By default it is True, so you have to set it to False. |
|
Codejock support
|
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Codejock support
|
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Thanks for that ABuenger.
|
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |