首页上一页 1 下一页尾页 1 条记录 1/1页
实现内连接时from语法错误
发表在VB答疑区
2008-11-09
是否精华
是
否
版块置顶:
是
否
Dim con As New adodb.Connection
Dim rs As New adodb.Recordset
Private Sub Form_Load()
con.Open "dsn=stud"
Set rs = con.Execute("select * from laifang join laifangrr on laifang.证件号码=laifangrr.证件号码") '实现表连接
Set MSHFlexGrid1.DataSource = rs
End Sub
Dim rs As New adodb.Recordset
Private Sub Form_Load()
con.Open "dsn=stud"
Set rs = con.Execute("select * from laifang join laifangrr on laifang.证件号码=laifangrr.证件号码") '实现表连接
Set MSHFlexGrid1.DataSource = rs
End Sub