Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where's Summary Y/N?
Message
From
27/10/1999 13:51:27
 
 
To
27/10/1999 13:40:22
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00282425
Message ID:
00282431
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform