Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Question
Message
From
12/07/2003 05:12:42
 
 
To
11/07/2003 16:30:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00809233
Message ID:
00809545
Views:
20
Hi AKhan,

PMJI.
IF TYPE('mvMasterupd')<>"N"
messagebox('Corrupted')
endif 
If the contents of the .MEM file when restored during the Init() are as you list them (ie the variable is present and PUBLIC) and the above messagebox gets displayed then the variable has somewhere been released (or had it's type changed ). Set a break on the variable in the debugger and see where it goes.

You're not by any chance doing a different RESTORE somewhere without the ADDIT are you ? Or declaring it LOCAL anywhere in which case it might get saved to the MEM, restored in the INIT but then go out of scope when the method ends.

Regards,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform