Solved

QuickReport Gives only 1 copy

Posted on 1998-05-18
2
765 Views
Last Modified: 2013-11-22
Hi,

I have a QuickReport (D3) and the user may select the number of copies he wants. However,if I update the PrinterSettings.Copies with this number it still prints only one copy. No matter when I update it (I thought I should do it in the before print event) What's wrong?
0
Comment
Question by:lizzzard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1346190
lizzzard, first go to their site and download the latest version.
0
 

Accepted Solution

by:
jhunt earned 50 total points
ID: 1346191
The copies property has a bug in it. I have the following workaround:

1) Make sure your QuickRep1.dataset property is NOT assigned;
2) Write your own OnNeedData event. Her you define a counter witch counts down the number of requested pages. When You have printed the number of pages you want, set moredata to false
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question