Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal - CRVIEWER - gracefully renter calling form ?
Message
De
20/10/2001 14:15:49
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/10/2001 22:42:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00571250
Message ID:
00571337
Vues:
25
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform