That is not the case, Bharath.
The issue is that you need to maintain a form variable for each instance
that you want open. Appending each instance to a custom collection allows
you to open as many as you need.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
Bharath said:
hello Allan,
The code that you have suggested would open a new form only from the
latest version of that form.each form is able to open up only one instance.
but my problem is different. let me xplain..
say i have a list of names in one form's list box. on clicking a name, a
new form should be opened which displays the details of that particular
person. if i choose another name and click on it, it should open another
form with that person's details without closing the one that was opened
earlier. so i should atleast be able to have as many active windows as the
number of persons in the list. hope you get what i want to convey.