Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why _PCOPIEs Doesn't Work?
Message
 
 
To
20/06/2001 23:02:29
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00521288
Message ID:
00521856
Views:
12
>Accturly, in my case the frx file is compiled and can not be modified while running. And the sys(1037) call up another dialog windows to user, and maybe it will confused the users after they selected the print copies just in my customerized dialog window. I've viewed the topics and I think it not very answer for my case. Anyway Thanks for your help.

Hi again,

Why this solution didn't satisfy you? In this case you don't touch the original report, but the temp copy of it:

Quote from Mark McCasland message:

To do what you want, I had to do the following:
lcFile = sys(3)  && legal filename
lnCopies = ThisForm.spnCopies.Value && spinner 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"
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform