coolmision
12-29-2004, 09:23 AM
hello,
I have a small issue when I'm trying to realize smthg like this:
TEST:
If MsgBox("Open a window?", vbYesNo + vbQuestion, "Question") = vbYes Then
frmtest.Show
Else
frmtest.show.text = "bla"
TEST2:
If MsgBox("Do you want to edit the value?", vbYesNo + vbQuestion, "Question") = vbYes Then
frmtest2.Show
.....
Now, my problem is that as soon as a user clicks on yes in the msgbox, a new form will appear and he will enter a form manually, then press a button. What I want to know now is, if it is possible to tell the program to resume at TEST2: when clicking on the button in another form? (as in resuming that code)
Thanks in advance
~cm
I have a small issue when I'm trying to realize smthg like this:
TEST:
If MsgBox("Open a window?", vbYesNo + vbQuestion, "Question") = vbYes Then
frmtest.Show
Else
frmtest.show.text = "bla"
TEST2:
If MsgBox("Do you want to edit the value?", vbYesNo + vbQuestion, "Question") = vbYes Then
frmtest2.Show
.....
Now, my problem is that as soon as a user clicks on yes in the msgbox, a new form will appear and he will enter a form manually, then press a button. What I want to know now is, if it is possible to tell the program to resume at TEST2: when clicking on the button in another form? (as in resuming that code)
Thanks in advance
~cm