Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why _PCOPIEs Doesn't Work?
Message
 
 
À
20/06/2001 23:02:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00521288
Message ID:
00521856
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform