Unloading forms from forms collection..
Posted on 2004-04-12
Couple of days back I asked a question about loading the forms from a database field
and I got a quick answer from Shauli.
Now I have one more question about the unloading or hiding the forms from the forms collection,
In the Database I have like this
Point out that we are using same forms for both test1 and test2 systems.
When I Load the forms with out Modal(vform.show) users can load more than one form
at a time.
EX: User Loaded the form for Test1 System with out closing the this form, user loaded the
form for second system also.
Now If the User want to Close the Form for Test1 system , With my code It is closing the second form
Set vForm1 = Forms(Forms.Count - 1)
I know that here it is picking up the last forms count and closing the last form, but how can
i get the Count or index of the form for the test1 system.
Any help is gratly appriciated