Report
: Project |
Project |
Customer |
Edit |
Del |
<%
'From menu = == Program
sql = "select * from report_project order by rp_prj_id"
set rs = conn.execute(sql)
response.write "Found : " & rs.recordcount & " item(s)"
do while not rs.eof
%>
| <%=rs("rp_prj_name")%> |
<%
qryCT = "select *,* from report_customer cus, report_country cnt where cus.rp_cus_id = "& rs("rp_cus_id") &" and cus.rp_country_id = cnt.rp_country_id"
set rsCT = conn.execute(qryCT)
if not rsCT.eof then
response.write rsCT("rp_cus_name") & "/" & rsCT("rp_country_name")
end if
set rsCT = nothing
%>
|
|
|
<%
rs.movenext:loop
set rs = nothing
%>
|
|
|