I'm making a page that selects some data from a database. I've done this before, and it wasn't a problem, but now it is.... I've got this error:
The code on the line 26 (and some before that) is:
I tried a response.write on the request.querystring, and it isn't empty, so it has to work don't it??
Can anyone see whats wrong??
Visit
Code:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1
/test/hbouw/_html_asp/foto.asp, line 26
The code on the line 26 (and some before that) is:
Code:
Dim dag
dag = request.querystring("dag")
SQL = "SELECT * FROM tbl_foto WHERE weekdeel = " & dag & ""
set RSfoto = conn.execute(SQL)
I tried a response.write on the request.querystring, and it isn't empty, so it has to work don't it??
Can anyone see whats wrong??
Visit