
Problems with VB modal/modeless forms and global variable
Hello...
I am having a problem, and it goes like this:
I have a Global(flag) variable that gets updated on a form. If I show the
form modal, the Global variable never gets updated, if I show it modeless,
the Global variable does get updated.
Does anyone know why this happens?? I for one am quite puzzled. The code
sequence is the exact same for both situations except in one sequence I have
the statement "frmFoo.show MODAL" (I have also tried "frmFoo.show 1"), and in
the other sequence, I have the statement "frmFoo.show" (also tried
"frmFoo.show 0"). Only the latter statement works.
Things that make ME go hmmm....(I wonder if Arsenio knew VB, probably not).
Thanks in advance for any help given.
Loy Evans