Help Me - Array Failure

J

John T Ingato

Being new to Visual Basic all of the code is in one module exactly as is
shown below. The functions work fine, as I watch the "Watch" window. For
example, the variable MyStores(10) reflects the values being assigned to it.
All is well until the LoadMyStores procedure ends. Then the watch window
states the value is "out of context". Since it was declared outside of any
function, I figured they would retain their values.

Even when the array is declared as Public, the values disappear
 

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