I am building a database for myself to aid me with my work...I have a toolbar on a form with buttons and I want to open another form that corrosponds with the button..all forms appear in the project explorer, however I keep getting a "Application-defined or object defined" error everytime I click the button. I notice that there is no "show" listed in the drop down menu...my code for one button is below:
Private Sub ActiveXCtl7_ButtonClick(ByVal Button As Object)
Dim FrmTemp As Form
Select Case Button.Key
Case "btnWin95"
Set FrmTemp = New Form_WIN95
FrmTemp.show vbModeless
End Select
End Sub
any help is appreciated and Thank You in advance
zgtrman
To effectively improve in the efficiency of your performance, one must be proficient in the implementation of a positive mental attitude.
Private Sub ActiveXCtl7_ButtonClick(ByVal Button As Object)
Dim FrmTemp As Form
Select Case Button.Key
Case "btnWin95"
Set FrmTemp = New Form_WIN95
FrmTemp.show vbModeless
End Select
End Sub
any help is appreciated and Thank You in advance
zgtrman
To effectively improve in the efficiency of your performance, one must be proficient in the implementation of a positive mental attitude.