M
Martin Williams
I'm developing a survey program. Currently, I have the parent form and the
survey which consists of three forms. As the user moves from one "page" or
form to the next, I would like to allow the user to go back and correct any
entries. Ideally, I would like to just hide one form as the user moves on
to the next, then show it if they decide to go back. But the problem I am
having is referencing the hidden form.
On Parent form:
sub mmuStart_click(...)
dim frm2Child as new form 2
frm2Child.mdiparent = me
frm2child.show()
mmuStart.enabled = false
end sub
Form 2 (first survey page):
sub btnNext_click(...)
dim frm3Child as new Form 3
frm3child.mdiparent = mainform /// this is referenced in a shared module
frm3child.show()
me.hide()
end sub
Form 3 (second survey page)
///this is where I'm having trouble. allowing the user to go back
sub btnBack_click(...)
???????????
end sub
I've tried numerous things, but I keep getting errors. I'm lost at this
point. Thanks for all responses.
survey which consists of three forms. As the user moves from one "page" or
form to the next, I would like to allow the user to go back and correct any
entries. Ideally, I would like to just hide one form as the user moves on
to the next, then show it if they decide to go back. But the problem I am
having is referencing the hidden form.
On Parent form:
sub mmuStart_click(...)
dim frm2Child as new form 2
frm2Child.mdiparent = me
frm2child.show()
mmuStart.enabled = false
end sub
Form 2 (first survey page):
sub btnNext_click(...)
dim frm3Child as new Form 3
frm3child.mdiparent = mainform /// this is referenced in a shared module
frm3child.show()
me.hide()
end sub
Form 3 (second survey page)
///this is where I'm having trouble. allowing the user to go back
sub btnBack_click(...)
???????????
end sub
I've tried numerous things, but I keep getting errors. I'm lost at this
point. Thanks for all responses.