首页上一页 1 下一页尾页 1 条记录 1/1页
参数不足,期待是1
发表在VB答疑区
2008-11-11
是否精华
是
否
版块置顶:
是
否
我的laifang表中有日期型数据
Dim con As New adodb.Connection
Dim rs As New adodb.Recordset
Private Sub Form_Load()
con.Open "dsn=stud"
[font color=#FF0000]Set rs = con.Execute("select * from laifang inner join laifangrr on laifang.证件号码=laifangrr.证件号码") '实现表连接问题出在这里
[/font]Set MSHFlexGrid1.DataSource = rs
con.Close
End Sub
Dim con As New adodb.Connection
Dim rs As New adodb.Recordset
Private Sub Form_Load()
con.Open "dsn=stud"
[font color=#FF0000]Set rs = con.Execute("select * from laifang inner join laifangrr on laifang.证件号码=laifangrr.证件号码") '实现表连接问题出在这里
[/font]Set MSHFlexGrid1.DataSource = rs
con.Close
End Sub