Could you add Response.Write displaySQL into your code, after the above line so that you can see the SQL statement that is being generated. Would then suggest that you try that as a query on the database, away from ASP and see if it works. You may get a clearer idea of what's going wrong with it.
Regards,
Sean Anderson
|