<%
ID=POS_ID
sql = "SELECT * FROM BKK_PICTURE WHERE (sub_id = '"&request("id")&"') ORDER BY pic_name"
rs.close
rs.open sql,conn,3,1
for i=1 to rs.recordcount
<!-- Thumbnail=C1.FindPathFile("D:\FAD\fad_bkk\Photo\ARC\"&rs("PIC_NAME")&"","..\Photo\ARC\",Thumbnail) -->
%>
Code (ASP)
<%
ID=POS_ID
sql = "SELECT * FROM BKK_PICTURE WHERE (sub_id = '"&request("id")&"') ORDER BY pic_date"
rs.close
rs.open sql,conn,3,1
for i=1 to rs.recordcount
<!-- Thumbnail=C1.FindPathFile("D:\FAD\fad_bkk\Photo\ARC\"&rs("PIC_NAME")&"","..\Photo\ARC\",Thumbnail) -->
%>