<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I need to collect a list of student id numbers from one table so I can take this list, find them in another table, and display their names so their teachers can give them a score.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I still like to use DTML but I do not know if I have the sequence-number in the proper format. This is what I have been playing with:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;dtml-call "REQUEST.set('RECORD_ID', REQUEST.SESSION['RECORD_ID'])"&gt;<BR>&lt;dtml-in lookup_students_in_course&gt;<BR>&nbsp; &lt;dtml-call "REQUEST.set('student_id_temp', student_id)"&gt;<BR>&lt;/dtml-in&gt;</DIV>
<DIV>&lt;dtml-in expr="_.range(sequence-number)"&gt;<BR>&nbsp; &lt;dtml-call "REQUEST.set('student_id_temp', student_id_temp)"&gt;<BR>&lt;SELECT NAME="student_id_selected"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=""&gt;&lt;/option&gt;<BR>&nbsp;&lt;dtml-in lookup_student_name sort=student_last_name&gt;<BR>&nbsp;&nbsp; &lt;OPTION VALUE="&lt;dtml-var student_id&gt;"&gt;<BR>&nbsp;&nbsp; &lt;dtml-var student_last_name&gt;, &lt;dtml-var student_first_name&gt; <BR>&nbsp;&nbsp; &lt;/OPTION&gt;<BR>&nbsp;&lt;/dtml-in&gt;<BR>&lt;/SELECT&gt;<BR>&lt;/dtml-in&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am having a hard time find reference material on this.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Larry</DIV>
<!-- END WEBMAIL STATIONERY -->

</body>
</html>