Print Page | Close Window

Print Selected Rows

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=5195
Printed Date: 16 September 2024 at 4:10pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Print Selected Rows
Posted By: jcollier
Subject: Print Selected Rows
Date Posted: 02 October 2006 at 5:04pm
Is there a way to only print selected rows in the ReportControl?  10.3.1 with VB6.

Thanks!



Replies:
Posted By: sserge
Date Posted: 03 October 2006 at 10:45am
Try to choose option "Print Range" --> Selection in the dialog which is appeared before printing.

--
WBR,
Serge


Posted By: jcollier
Date Posted: 03 October 2006 at 11:39am
When I select a row and then print, print range is grayed out.  When I try print selection, it still prints the entire report.


Posted By: sserge
Date Posted: 03 October 2006 at 5:25pm
That's strange.
Do you experience the same behavior with our Report VB sample application?
For me it works fine...

May be the problem is in your environment? Any details on it?

--
WBR,
Serge


Posted By: jcollier
Date Posted: 03 October 2006 at 5:31pm
I was trying that very thing when you replied.  It seems to work fine if you pass 0 to PrintReport.  It does not seem to work if I pass the hDC of a specific printer.


Posted By: sserge
Date Posted: 04 October 2006 at 7:27am
Yes, dialog does not appear at all in this case. Control assumes that specific printer is already configured.

However, this now looks to be not consistent behavior. Most likely we'll change/update it for future version.

--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net