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
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