试了一下语句,但不成功,望高手指点!!,谢谢,
Private Sub Form_Load()
Dim mydb As Database
Dim rst As Recordset
Set mydb = DBEngine.OpenDatabase("c:\kfx.mdb", False, False, ";pwd=yang")
Set rst = mydb.OpenRecordset("user")
Me.Combo6.RowSource = "SELECT 用户名 FROM [c:\kfx.mdb].user"
'Me.Combo6.RowSource = rst("用户名")
rst.Close
mydb.Close
Set rst = Nothing
Set mydb = Nothing
End Sub