求助VB打开ACCESS窗体问题
想用COMMAND打开C盘TEST.mdB 下的FORM1窗体模块声明:Dim msAccess As Access.Application
代码:Private Sub Command1_Click()
Set msAccess = New Access.Application
msAccess.OpenCurrentDatabase ("c:\test.mdb")
msAccess.DoCmd.OpenForm "form1"
Set msAccess = Nothing
End Sub
可是运行结果只能打开数据库,不能打开FORM1窗体,呼叫达人解决,或其他办法··