Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal - CRVIEWER - gracefully renter calling form ?
Message
From
20/10/2001 14:15:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/10/2001 22:42:43
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00571250
Message ID:
00571337
Views:
27
>From a command button on a form I prepare data, copy to TYPE FOX2X, open the RDC engine and then Thisform.CrViewer.ViewReport().
>
>When the CRViewer is closed, the form that called it is also closed.
>
>Instead I would like the calling form to regain focus so that user could select another report on another command button.

I don't have the code from my last job here, but generally there were few differences from what you do:
- didn't use the .CrViewer, used the report ActiveX (6.0)
- we minimized _screen before running the report, then restored it thereafter
- we didn't call the .ViewReport() but rather set it to print to screen (.destination=0 or something of the kind) and called .print or .printreport, don't remeber the syntax exactly.
HTH

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform