Office中国论坛/Access中国论坛

标题: is that ok? why not? [打印本页]

作者: sunredday    时间: 2004-6-16 03:29
标题: is that ok? why not?
Private Sub CommandButton1_Click()

Dim app As New Access.Application

app.Visible = True

app.NewCurrentDatabase "c:\db1.mdb"

End Sub


作者: sunredday    时间: 2004-6-16 15:49
maybe application should not be used to control access from word etc. dao or ado or sql should be used for this purpose.




欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) Powered by Discuz! X3.3