确实,本人菜鸟,刚学,希望给能完成操作的代码,非常需要,谢谢了
rivate Sub Command2_Click()
Me.Adodc1.RecordSource = "select * from chuji where id =‘"text1.text"'"
Set Me.Text1.DataSource = Me.Adodc1
Set Me.Text2.DataSource = Me.Adodc1
Me.Text1.DataField = "id"
Me.Text2.DataField = "tm"
End Sub
Me.Adodc1.RecordSource = "select * from chuji where id =‘"text1.text"'"
这句有何错误,请赐教(如果将id =‘"text1.text"改为id =2)就可正常执行
[
本帖最后由 wangshixin 于 2013-7-28 23:10 编辑 ]