Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cleaning Report's Environment
Message
From
22/04/2003 17:39:25
 
 
To
22/04/2003 17:26:34
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00780291
Message ID:
00780366
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform