I have the following code in a command button:


private Sub Command1_Click()
Dim n as Form1
set n = new Form1
n.show
End sub



But when i click on the button it creates 2 new forms the first time.
how can i solve this?

--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: [email protected]
for the address