Hi there,
You can use the keyword WHERE only once in a query:
SELECT Field1, Field2 FROM Table WHERE Field1 = 'Something' AND Field2 = 'SomethingElse'
If that doesn't help, make the following change in your code:
Code:
Set rsGlobalWeb = Server.CreateObject("ADODB.Recordset")
Response.Write(query)
Response.End
rsGlobalWeb.Open query, dbGlobalWeb, 3
%>
and post the outcome of the Response.Write statement to this list.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.