how do i get a command button to activate a form??
Printable View
how do i get a command button to activate a form??
private sub command1_click ()
form2.enabled = true
end sub
is that what you need?
Actually Dimava, I think he wants it to be shown.
Code:Private Sub Command1_Click()
Form2.Show
End Sub
in that case you should also add
form1.hide
You could use the AppActivate Statement thingy.
Code:Private Sub Form_Click()
AppActivate "Form2"
End Sub
Private Sub Form_Load()
Form2.Show
End Sub