Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TEMPLATE.FRX DataEnvironment.Destroy code change
Message
From
17/07/2001 15:03:13
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
TEMPLATE.FRX DataEnvironment.Destroy code change
Miscellaneous
Thread ID:
00531677
Message ID:
00531677
Views:
54
Kevin,

The DataEnvironment.Destroy method has the following code:
*-------------------------------------------
*--- Release the Data session object and the 
*--- Report Session Environment object 
*-------------------------------------------
IF TYPE('This.oDataEnvironment') == 'O'
	This.oDataEnvironment = .NULL.
ENDIF
IF TYPE('This.oReportSessionEnvironment') == 'O'
	This.oDataEnvironment = .NULL.
ENDIF
Shouldn't the second IF statement be:
IF TYPE('This.oReportSessionEnvironment') == 'O'
	This.oReportSessionEnvironment = .NULL.
ENDIF
This is still in the latest MMF version.

Thanks

Rex
Next
Reply
Map
View

Click here to load this message in the networking platform