Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crystal reports(v.8.5) via vfp7

Status
Not open for further replies.

FILIPM

Programmer
Mar 11, 2003
40
BE
Hello guys,

I'am a bit new in crystal reports.
Dispite a found a fantastic faq on tek-tips.
The only thing i can't find is how do i pass the number of prints.
Example : client a wants 4 invoices and client b wants 5 invoices.
With witch parameters do I tell crystal to print 5 or 4 invoices in vfp7.0 sp1


Many thanks,

Filip Merlier
 
Filip,

Pass the number of copies as the second parameter to the Printout() mehtod. For example:

loRep.Printout(.F., 3, .T., 60, 66)

That says to print three collated copies, from pages 60 to 66, without displaying the Print dialogue.

Of course, you could always just call Printout() without any parameters, and call it repeteadly until you have printed the required number of copies, but that would be much slower.

Mike


Mike Lewis
Edinburgh, Scotland
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top