Her er hele koden.... jeg værdsætter jeres hjælp!!!
<html>
<head>
<!--#include file = "include/menu.inc"-->
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 5">
<title>Dunoweb</title>
<meta name="site-config-URL" content="
http://database/"><style media="screen" type="text/css"><!--
a { color: black }
--></style>
<%
set tb = Server.CreateObject("ADODB.Recordset")
tb.ActiveConnection = "dsn=hjemmeside;"
tb.Source = "SELECT branche.navn, branche.beskrivelse, team.teamid AS teamid FROM branche inner join team on branche.teamID = team.teamID where branche.brancheID="&Cint(request.QueryString("brancheID"))&" "
tb.CursorType = 0
tb.CursorLocation = 2
tb.LockType = 3
tb.Open
tb_numRows = 0
Dim tbRepeat1__numRows
tbRepeat1__numRows = -1
Dim tbRepeat1__index
tbRepeat1__index = 0
tb_numRows = tb_numRows + tbRepeat1__numRows
teamvar = tb("teamid")
%>
<%
set tm = Server.CreateObject("ADODB.Recordset")
tm.ActiveConnection = "dsn=hjemmeside;"
tm.Source = "SELECT medarbejder.navn AS Mnavn, medarbejder.email AS memail, medarbejder.medarbejderid AS medid FROM team inner join medarbejder on medarbejder.teamid = team.teamID where team.teamid ="&teamvar&" order by medarbejder.sortering, medarbejder.navn"
tm.CursorType = 0
tm.CursorLocation = 2
tm.LockType = 3
tm.Open
%>
</head>
<body bgcolor="#667b93" onload="init()">
<!--#include file = "include/top1.inc" -->
<table border="0" cellpadding="0" cellspacing="0" width="530" height="15">
<tr height="20">
<td height="20">
<div align="left">
<img src="../grafik/transparent.gif" width="1" height="1" name="placeholder"></div>
</td>
</tr>
</table>
<!--#include file = "include/top2.inc" -->
<table border="0" cellpadding="0" cellspacing="0" width="610" bgcolor="#133359" height="30">
<tr height="30">
<td width="610" height="30">
<div align="center">
<font color="#ccd7e3" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="4"><%=tb("navn")%></font></div>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="610" bgcolor="#ccd7e3">
<tr height="20">
<td width="5" height="20"></td>
<td height="20"></td>
<td width="5" height="20"></td>
</tr>
<tr>
<td width="5"></td>
<td valign="middle" align="left"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="2"><%=tb("beskrivelse")%></font></td>
<td width="5"></td>
</tr>
<tr height="45">
<td width="5" height="45"></td>
<td height="45" valign="bottom"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="2">Tilknyttede medarbejdere:</font></td>
<td width="5" height="45"></td>
</tr>
<tr height="1">
<td width="5" height="1"></td>
<td height="1" bgcolor="#677b93"></td>
<td width="5" height="1"></td>
</tr>
<tr height="5">
<td width="5" height="5"></td>
<td height="5"></td>
<td width="5" height="5"></td>
</tr>
</table>
<%
maxi = 0
while NOT tm.EOF
maxi = maxi + 1
tm.movenext()
wend
tm.movefirst()
for i = tm.BOF to maxi - 1
%>
<table border="0" cellpadding="0" cellspacing="0" width="610" bgcolor="#ccd7e3">
<tr height="1">
<td height="1" width="70"></td>
<td height="1" width="171"></td>
<td height="1" width="126"></td>
<td height="1" width="233"></td>
<td height="1" width="10"></td>
</tr>
<tr>
<td width="70"></td>
<td valign="middle" align="right" width="171">
<div align="right"><a href='vismedarbejdere.asp#<%=tm("medid")%>' title="Tryk her for at læse mere om <%=tm("Mnavn")%>"><span class="lysbaggrund"><font size="2" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><%=tm("Mnavn")%></font></span></a></div>
</td>
<td width="126"></td>
<td valign="middle" align="left" width="233">
<div align="left"><a href='mailto:<%=tm("memail")%>' title='Tryk her for at sende en E-mail til <%=tm("Mnavn")%>'><span class="lysbaggrund"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="2"><%=tm("Memail")%></font></span></a></div>
</td>
<td width="10"></td>
</tr>
<tr>
<td width="70"></td>
<td width="171"></td>
<td width="126"></td>
<td width="233"> </td>
<td width="10"></td>
</tr>
</table>
<%
tm.movenext()
next
%>
<table border="0" cellpadding="0" cellspacing="0" width="610" bgcolor="#ccd7e3">
<tr>
<td><br>
</td>
</tr>
</table>
<p><!--#include file = "include/bund.inc"--></p>
</body>
</html>
til dig der har nået bunden... jeg takker dig...