G
Guest
I want to create a collection of forms that maintains the state of the form.
I plan to add the form to the collection, then close the form before I move
onto the next form selected by the user. I think I can do that. However, when
I want to return to a form at it's saved state in the collection, I don't
know how to open and show the form.
the following doesn't work
docmd.opeform "form name string"
docmd.openform mycollection(3) won't work
can I
set aform = mycollection(3)
aform.visible
I've never been able to do the above in VBA. No problem in VB.NET
I plan to add the form to the collection, then close the form before I move
onto the next form selected by the user. I think I can do that. However, when
I want to return to a form at it's saved state in the collection, I don't
know how to open and show the form.
the following doesn't work
docmd.opeform "form name string"
docmd.openform mycollection(3) won't work
can I
set aform = mycollection(3)
aform.visible
I've never been able to do the above in VBA. No problem in VB.NET