vb+access Refresh方法的Iadodc失败
PrivateSubForm_Load()DimaAsStringRecordSource="select*from系统人员表"Adodc1.RefreshDoWhile...
Private Sub Form_Load()
Dim a As String
RecordSource = "select * from 系统人员表"
Adodc1.Refresh
Do While Not Adodc1.Recordset.EOF
a = Adodc1.Recordset.Fields(0)
List1.AddItem a
Adodc1.Recordset.MoveNext
Loop
List1.Text = ""
End Sub
“Adodc1.Refresh”出现错误提示,请各位帮帮忙! 展开
Dim a As String
RecordSource = "select * from 系统人员表"
Adodc1.Refresh
Do While Not Adodc1.Recordset.EOF
a = Adodc1.Recordset.Fields(0)
List1.AddItem a
Adodc1.Recordset.MoveNext
Loop
List1.Text = ""
End Sub
“Adodc1.Refresh”出现错误提示,请各位帮帮忙! 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询