asp + access 多表查詢的問題
<%set conn=server.createobject("adodb.connection")
conn.open"driver={microsoft access driver (*.mdb)};dbq="&server.MapPath("data\mynews.mdb")
set rs=server.CreateObject("adodb.recordset")
ssql="select rechecklist.REnames,userss.names where REnames.liyong=names.liyong"
rs.open ssql,1,1
if rs.eof then
response.write"<tr><td>現在沒有回複</td></tr>"
response.end()
end if
do while not rs.eof
%>
<tr>
<td rowspan=2>註冊名:<%=rs("names")%><br>真實名:<%=rs("TruName")%><br>姓 別:<%rs("UserSex")%><br>愛 好:<%=rs("UserLove")%></td>
<td height="20" align="center">回複的內容</td>
<td><%=rs("REneirong")%></td>
</tr>
<%
rs.movenext
loop
rs.close
ssql.close
conn.close
%>