如何建立和连接加密数据库?
Dim db As Database
Dim rs As Recordset
Private Sub Form_Load()
Set db = OpenDatabase(App.Path & "\user.mdb")
Set rs = db.OpenRecordset("per")
Dim i As String
For t = 0 To Val(rs.RecordCount) - 1
i = Trim(rs.Fields("name").Value)
rs.MoveNext
Combo1.AddItem i
Next
rs.Close
End Sub
高手指点一下!谢谢!
[此贴子已经被作者于2006-12-16 18:16:16编辑过]