Emoncada
02-03-2009, 01:57 PM
I have a form with some cmd buttons that call other forms.
So I have it to hide the ServerBuildForm and show the SwitchForm.
After SwitchForm is updated or Closed it should Hide and Show the ServerBuildForm Again.
What is happening is it seems to show the ServerBuildForm Twice.
I close it and then it's still there after I close that one it goes away.
This is my script.
ServerBuildForm Call SwitchForm
Private Sub CmdViewSwitches_Click()
ServerBuild.Hide
SwitchForm.Show
End Sub
SwitchForm Hide and Reshow Original ServerBuildForm
Private Sub CmdAddSwitch_Update_Click()
SwitchForm.Hide
ServerBuild.Show
End Sub
Any Ideas what I should do. Instead of Hide should I use something else?
So I have it to hide the ServerBuildForm and show the SwitchForm.
After SwitchForm is updated or Closed it should Hide and Show the ServerBuildForm Again.
What is happening is it seems to show the ServerBuildForm Twice.
I close it and then it's still there after I close that one it goes away.
This is my script.
ServerBuildForm Call SwitchForm
Private Sub CmdViewSwitches_Click()
ServerBuild.Hide
SwitchForm.Show
End Sub
SwitchForm Hide and Reshow Original ServerBuildForm
Private Sub CmdAddSwitch_Update_Click()
SwitchForm.Hide
ServerBuild.Show
End Sub
Any Ideas what I should do. Instead of Hide should I use something else?