It works both ways for me testing with your variables in fact. I would check that the variable actually exists using IF TYPE('mvMasterupd')<>"N" or something similar and trapping for the variable not existing before saving to memory.mem. It must be released somewhere before under specific conditions somehow...
>Hello
>
>Does
>
>Save to forms\memory.mem
>different from
>Save to "forms\memory.mem"
>
>like wise
>
>Restore from forms\memory.mem addi
>different from
>restore from "forms\memory.mem" addit
>
>Reason i ask is my memory file get corrupted sporadically.In my mem file i have
>
>mvMasterupd=2
>mvCuryrHigh=2003
>mvCuryr=9
>
>Some times when the program runs, it displays mvMasterupd not found, so when i check the mem file, i has only two entries and mvMasterupd is missing.
>
>Any ideas ?
>
>Txs
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"