Diesmal mit Datenbankaufruf, irgendwie sehe ich nichts falsches, wäre super , wenn dir was auffällt, bin für jeden Tip dankbar, cu
strSQL = "SELECT Country, OPT from Country where Country not like ''"
rs.open strSQL, conn, 3, 2
do until rs.eof
Country = Country & "<option value=""" & rs("Country")& """>" & rs("Country") & " (" & rs("OPT") & ")"&"</option>"
rs.movenext
loop
if request("search") = "" then%>
<form action="file:search.asp" method="get">
<input type="hidden" name="search" value="true">
<table border="0" width="100%" bgcolor="#F8F8F8" cellspacing="1" cellpadding="3" bordercolor="#F8F8F8">
<tr bgcolor="#F8F8F8" bordercolor="#F8F8F8">
<td colspan="4" height="10"> <b>Option Code<br>
<select name="OPT" style="width:100%; font-size: 10">
<option value="">ALL</option>
<%=OPT%>
</select>
</b> </td>
</tr>
<tr bgcolor="#F8F8F8" bordercolor="#F8F8F8">
<td colspan="3"> <b>Country<br>
<select onchange="location.href='countryinfo.asp?Country=<%=rs("Country")%>'" name="Country" style="width:100%; font-size: 10">
<option value="">ALL</option>
<%=Country%>
</select>
</b> </td>
<%rs.close%>
Hi,
<select onchange="location.href='countryinfo.asp?Country=<%=rs("Country")%>'" name="Country" style="width:100%">
Aufgerufen sieht der Code so aus
<select onchange="location.href='countryinfo.asp?Country= <font face="Arial" size=2>
<p>ADODB.Field</font> <font face="Arial" size=2>error '80020009'</font>
<p>Deine serverseitige Programmlogik kann '<%=rs("Country")%>' augenscheinlich nicht richtig auflösen; es gibt dort einen Fehler, welcher durch eine äußerst merkwürdige Ausgabe quittiert wird. Suche diesen Fehler und korrigiere ihn.
Cheatah