access数据库里有2个表,表内有3个字段是相同的,现在想同时查询这两个表,并将表内的其他字段内容全部显示出来,怎么做啊?我的代码是:
Adodc1.RecordSource = "Select * From (select*from table1 join table2 on table1.r1=table2.r1 and table1.r2=table2.r2 and table1.r3=table2.r3)  Where r1 = '" & Textqzl.Text & "' and r2 = '" & Textkd.Text & "' and r3 = '" & Textqsgd.Text & "'"
Adodc1.Refresh
运行时一直提示form字句语法错误,求教,不胜感激!