Dreamweaver user eh! Righto, replace the code sections below in the appropriate places...
Code:
sqlschoolinfo = "SELECT student1.*, schoolinfo.* FROM student1 INNER JOIN schoolinfo ON student1.Semiscode = schoolinfo.Semiscode where student1.name <> '' ORDER BY schoolinfo.[name]"
...
<%
Dim currentSchool, previousSchool
do while not(rsschoolinfo.eof)
currentSchool = rsschoolinfo("name")
%>
...
<td><div align="left"><strong><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"><%=rsschoolinfo("student1.semiscode")%></font></strong>
<%if rsschoolinfo("schoolinfo.isnew")=true then %>
<font color="#FF0000" size="1" face="Georgia, Times New Roman, Times, serif">*</font>
<%end if%>
</div></td>
<td><font color="#000000"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<%
If currentSchool <> previousSchool Then
Response.Write currentSchool
End If
%>
</font></strong></td>
...
<%
Response.Flush
previousSchool = rsschoolinfo("name")
rsschoolinfo.MoveNext
loop
%>
Hope that helps.
Bookmarks