ME.HIDE zeroes out variables

  • Thread starter Thread starter Glarb Shattenstein
  • Start date Start date
G

Glarb Shattenstein

I am posting data to one form (integers mostly) with variables
dimensioned at the modular level (i.e. mdecTotal as Integer) and have
calculations performed on those variables in another form. The
problem is that when I use ME.HIDE, the variables are being reset to
zero values, so I can't even begin to think about how to even pass
those variables to another form in the first place. I thought ME.HIDE
merely hid the form, but when I recall the form (with a form.show())
all text boxes are cleared and all variables are lost. How do I fix
this?

Thanks,

Glarb
 
Jeremy Cowles said:
are you binding the vars to controls on this form? This doesn't make sense
to me.

I have a question about this part. If I enter text into text boxes on a
form, and do an ME.HIDE via a command button, when I switch back to that
form with a form.show() command, shouldn't that text still be in those
boxes? In practice, it doesn't work. So the question is: what is the
difference between ME.HIDE and ME.CLOSE?
 
Back
Top