Ciao,
ho un db Access con dentro delle tabelle vuote, perchè sono all'inizio della creazione della gestione dati.
nel codice ho messo
sSQL="SELECT * FROM Tab_Articoli WHERE Art_Canc='No' AND Art_Offerta='Si' order by Art_Categ"
Set Rs = Server.CreateObject("ADODB.Recordset")
Rs.Open sSQL, objConn, 3'adOpenStatic
%>
<FONT color=White>
<table WIDTH=95% border="1" bordercolor=#006699>
<td><font size=2>Codice</font>
</td>
<td><font size=2>Categoria</font>
</td>
<%
if not Rs.EOF then
Do While NOT Rs.EOF
%>
<tr>
<td><a href="F_Leggo_Scheda_Off.asp?id=<%=Rs("id")%>"><%= Rs("Art_Codice")%></td>
<td><font size=2 color=White><%Response.Write Rs("Art_Categ")%></td>
</tr>
ma se non ho nessun record mi da l'errore: No value given for one or more required parameters.
Questa riga mi da problemi:
Rs.Open sSQL, objConn, 3'adOpenStatic
come faccio?![]()
TNKS

Rispondi quotando
