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