>To do what you want, I had to do the following:
>lcFile = sys(3)
>lnCopies = ThisForm.spnCopies.Value
>select * from myreport.frx into table lcFile + ".frx"
>repl expr with strtran(expr, 'COPIES=1', 'COPIES=' + str(lnCopies))
>use
>repo form (lcFile) to printer noconsole
>erase lcFile + ".frx"
>erase lcFile + ".frt"
Mark,
That's cool...I currently have a loop that sends the report to the printer the number of times the user has selected.
Will that work for any printer? IOW, is windows in charge of sending multiple copies to the printer, or does the print driver simply pass the number to the printer itself (which must then have the internal capability of doing this)?
Thanks,
Steve Gibson