Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prompt for number of copies or set it programmatically
Message
 
 
À
21/03/2002 09:33:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00635459
Message ID:
00635464
Vues:
13
>I have literally hundreds of prgs that run reports using REPORT FORM ... We have a table that stores the number of required copies for each report. However very few of these prgs have loops for multiple copies and I need to add the ability to set the number of copies in hundreds of prgs when running reports. The prompt keyword also allows the user to change the printer and which pages to print (don't want that). I don't want to edit hundreds of prgs to add a loop, and I don't want to copy the .frx to a temporary file to change the copies= in the table because the reports are compiled with the app. Any ideas? Would it be great if the report form command had a parameter like PROMPT that when used alone allowed all three options to be modified (printer, pages, copies) or when used with an additional keyword like copies only allowed the number of copies to be changed? Anyway, since that is not an option, any ideas?
>
>TIA!
>Tracy

You can print to a file and than use Rawprint class or something similar to send the file multiple times to the printer.

BTW, i don't uderstand why you cannot copy report to the temp file and modify # of copies there. You can create wrapper class that can do it for you.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform