to few parameters..
tror jeg har set mig død på den..If strBilledserie <> "" Then
if updateSQL <> "" then 'Indsæt komma efter
updateSQL = updateSQL & ", "
end if
updateSQL = updateSQL & "billedid= '" & Request.Form("billedserie") & "'"
else
Response.Redirect("ret.asp?ID=tilfoejbillede&stat=blank")
end if
If strBeskrivelse <> "" Then
if updateSQL <> "" then 'Indsæt komma efter
updateSQL = updateSQL & ", "
end if
updateSQL = updateSQL & "billedbeskrivelse= '" & Replace(Request.Form("beskrivelse"), "'","''") & "'"
else
Response.Redirect("ret.asp?ID=tilfoejbillede&stat=blank")
end if
If strNavn <> "" Then
if updateSQL <> "" then 'Indsæt komma efter
updateSQL = updateSQL & ", "
end if
updateSQL = updateSQL & "navn= '" & Replace(Request.Form("navn"), "'","''") & "'"
else
Response.Redirect("ret.asp?ID=tilfoejbillede&stat=blank")
end if
if (updateSQL <> "") then
strSQL = "UPDATE tblBilledserie SET " & updateSQL & " WHERE filnavn = " & Request.QueryString("billedid")
conn.execute(strSQL)
end if
jeg får fejlmeddelelsen :
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
entry/ret.asp, line 233
..mangler jeg noget et sted?
