Database-fejl
Set Conn = Server.CreateObject("ADODB.Connection")DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; "
DSN = DSN & "DBQ=" & Server.MapPath("articles.mdb")
Conn.Open DSN
strSQL = "SELECT * FROM kommentarer WHERE artikel=" & strId
Set rs = Conn.Execute(strSQL)
Får jeg flg. fejl:
Microsoft OLE DB Provider for ODBC Drivers error '80040e07'
[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
/artikel.asp, line 50