Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cleaning Report's Environment
Message
 
 
À
22/04/2003 17:26:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00780291
Message ID:
00780366
Vues:
8
This message has been marked as a message which has helped to the initial question of the thread.
Claudio,

The purpose of the program is save and restore dataenvironment. Just like the path you described in your reply to Steve.

This is an example for your situation.
*&  In your form's method that issue REPORT FORM ...
*&
LOCAL loDEManager
*&
*&  Create the DataEnvironment Manager.
loDEManager = NEWOBJECT("DataManager")
*&
*&  Issue Push() here to save current data environment.
loDEManager.Push()

*&
*&  Existing codes before REPORT FORM.

*&  Call Report Form here.
REPORT FORM "myReport" PREVIEW

*&
*&  Existing codes after REPORT FORM.


*& Issue Pop here to restore data environment to the state when Push() was called.
loDEManager.Pop()
You may place the Push() and Pop() where appropriate.


HTH.

Wan



>Wan
>
>>Check you inbox for the program.
>>
>I already checked.. But, I didn't understand very well the purpose of the program.. Can you explain it for me please ?
>
>
>
>Claudio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform