Jeg forstod ikke helt hvad du mente, så jeg lavede denne løsning, lidt ud fra dig forslag
KODE:
-------------------------------------------------------------------------------
<table width="430" border="0" align="left" cellpadding="5" cellspacing="0">
<tr>
<td><!-- #include file="../inc/dbadgang.asp" --> <%
SQL = " SELECT * FROM SideIndhold WHERE SideID = 'navision_prisliste' "
Set rs = Conn.Execute(SQL)
%> <!-- #include file="../inc/side_sql.asp" -->
<br>
<br>
</td>
<td width="100"> </td>
</tr>
<tr>
<td> <strong>PRISLISTE</strong>
</td>
<td width="100"> </td>
</tr>
<tr>
<td align="left" valign="top"> <form name="form1">
<select name="select2" class="text_felt" onChange="window.open(this.options[this.selectedIndex].value,'_self')">
<% strSQL = "SELECT DISTINCT Kategori FROM Navision_Kategori order by Kategori ASC"
set rs2 = Conn.Execute(strSQL)
%>
<option value="" selected>---> VÆLG KATEGORI</option>
<% Do Until rs2.EOF
%>
<option value="slet.asp?ID=<%= rs2("Kategori")%>">- <%= rs2("Kategori")%></option>
<% RS2.MoveNext
Loop
%>
</select>
</form></td>
<td width="100" align="right" valign="top"> </td>
</tr>
<tr>
<td align="left" valign="top"> <% ID = Request.QueryString("ID")
If ID = "" Then
%> <% Else %> <%
ID = Request.QueryString("ID")
strSQL1 = "SELECT * FROM Navision_Pris WHERE Kategori = '" & ID & "' "
set rs1 = Conn.Execute(strSQL1)
ID = ""
%> <strong><%= rs1("Kategori") %></strong> </td>
<td width="100" align="right" valign="top">.</td>
</tr>
<tr>
<td align="left" valign="top"> </td>
<td width="100" align="right" valign="top"> </td>
</tr>
<% Do Until rs1.EOF
Pris = FormatNumber(rs1("Pris"),2)
Indhold = replace(rs1("Indhold"), vbCrLf, "<BR>")
%>
<tr>
<td align="left" valign="top"><%= Indhold %></td>
<td align="right" valign="top"><%= Pris %> KR</td>
</tr>
<tr>
<td colspan="2" align="left" valign="top"><hr></td>
</tr>
<% RS1.MoveNext
Loop
%>
<% End If %>
<%
Conn.Close
Set Conn = Nothing
%>
<tr>
<td align="left" valign="top"> </td>
<td align="right" valign="top"> </td>
</tr>
</table>
-------------------------------------------------------------------------------
HER KAN DU SE HVORDAN DET VIRKER, SE PRISLISTE 2:
http://www.neocon.dk/mw/index.asp?ID=Navision