Private Sub 命令0_Click()
Dim db As Database
Dim rs As Recordset
Set db = OpenDatabase("d:\My Documents\Access\123.mdb")
Set rs = db.OpenRecordset("select * from 台帐") '调试出错类型不匹配???
If rs.RecordCount > 0 Then
MsgBox "数据库能够导出!"
Else
MsgBox "数据库为空,不能导出!"
End If
DoCmd.Close
End Sub