pen; htp.tableData(col1); htp.tableData(col2); htp.tableData(col4); htp.tableData(col5); htp.tableData(col6); htp.tableData(col3); htp.tableRowClose; i:=i+1; if i=j+10 then l:=1; exit; end if; else i:=i+1; end if; end loop; close x;
该方法是名叫‘淼’的网友写的script,他用到了Oracle web2kit中的OWA_UTIL package。
4)How can one page forward and backwards through a table? Externalize ROWNUM by implementing queries like this:
SELECT ... FROM (SELECT ROWNUM rnum, ... FROM ...) WHERE rnum BETWEEN :low AND :high AND rownum <(:high :low + 1);
where :low and :high are dynamically generated values depending on which result page the user is viewing. Typically, they are used to show "Next 15 matches", "Previous 15 matches" links at the bottom of each page. &上一页 [1] [2] [3] 下一页
|