Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where's Summary Y/N?
Message
De
27/10/1999 13:51:27
 
 
À
27/10/1999 13:40:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00282425
Message ID:
00282431
Vues:
28
>In old code, if I gave a choice of Report Summary or Detail, then have the prg say,
>
>If mSummary = "Y"
> report form myreport summary to print
>else
> report form myreport to print
>endif
>
>I can do it at the command line, but how to do it within Report Properties?
>
>In olden times, a prg called the report, now I have a report form that calls a prg in the Init.
>
>Where do I control Summary or not?

The REPORT command still supports the SUMMARY clause; you'll need to use similar code to trigger the report in SUMMARY mode. You can use a variable, object property or whatever as you like - the code to trigger the output works the same way.

(IOW, you may need to modify your code in the form or .PRG to collect the information about whether or not SUMMARY should be used, and invoke it as appropriate.)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform