Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

QuickReport Gives only 1 copy

Posted on 1998-05-18
2
Medium Priority
?
796 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
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 150 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

963 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