帮我看下这做代码错在哪里
Private Sub Form_Load()Dim i As Integer
Adodc1.RecordSource = "select * from 库存"
Adodc1.Refresh
cmbfield.Clear
For i = 0 To Adodc1.Recordset.Fields.Count - 1
cmbfield.AddItem Adodc1.Recordset.Fields(i).Name
Next i
cmbfield.Text = cmbfield.List(0)
End Sub
连接的是MDB数据库类型 from 子语句语法错误
错误在 adodc1.refresh这条