Private Sub tbMainTool_ButtonClick(ByVal Button As MSComctlLib.Button) Dim strSql As String Dim rsTemp As New ADODB.Recordset Select Case Button.Key Case "add" ClearCtrl Me txt(0).SetFocus
tbMainTool.Buttons("Save").Enabled = True Case "query" \\\ End Select