![]() |
Print Selected Rows |
Post Reply ![]() |
Author | |
jcollier ![]() Senior Member ![]() Joined: 15 February 2006 Status: Offline Points: 250 |
![]() ![]() ![]() ![]() ![]() 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! |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Try to choose option "Print Range" --> Selection in the dialog which is appeared before printing.
-- WBR, Serge |
|
![]() |
|
jcollier ![]() Senior Member ![]() Joined: 15 February 2006 Status: Offline Points: 250 |
![]() ![]() ![]() ![]() ![]() |
When I select a row and then print, print range is grayed out. When I try print selection, it still prints the entire report.
|
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
jcollier ![]() Senior Member ![]() Joined: 15 February 2006 Status: Offline Points: 250 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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 |