Index: openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl,v diff -u -N -r1.16 -r1.17 --- openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 31 Jul 2002 12:20:12 -0000 1.16 +++ openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 6 Aug 2002 17:27:13 -0000 1.17 @@ -459,10 +459,19 @@ var_name:1, var_name:2, etc, setting var_name:rowcount to the total number of rows, and setting var_name:columns to a - list of column names. Each row also has a column, rownum, automatically + list of column names. + +

+ + Each row also has a column, rownum, automatically added and set to the row number, starting with 1. Note that this will override any column in the SQL statement named 'rownum', also if you're using the Oracle rownum pseudo-column. + +

+ If the -local is passed, the variables defined + by db_multirow will be set locally (useful if you're compiling dynamic templates + in a function or similar situations).