一个进销存管理连接access2007数据库的vb设计
Public Function cnn() As ADODB.Connection
Set cnn = New ADODB.Connection
cnn.Open "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\db_sss.accdb;persist security info=false;user id=sa;initial catalog=db_SSS"
End Function
看一下错误的地方