ME.HIDE zeroes out variables

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
 
B

Bob

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top