Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer prompt
Message
From
27/07/2000 14:09:51
 
 
To
27/07/2000 12:46:12
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00397700
Message ID:
00397763
Views:
14
>How do I check the return value from:
>
>report form xx to printer prompt
>
>I need to know if the user depressed ok or cancel.

One trick that I use is to initialize a PRIVATE memvar lRanReport to .F. before issuing the REPORT FORM statement. In the Report itself, I reset the value of lRanReport to .T., and I can tell whether the report was actually fired by testing lRanReport after it exits.
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
Reply
Map
View

Click here to load this message in the networking platform