View Single Post
Old 10-21-2009, 10:14 AM   #2 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 264
rdove is on a distinguished road
You can't declare a variable in asp and have it translate into SQL, it doesn't work. You either have to declare a sql variable and pass it into the ADO object or do string concatenation on the variable to form your sql string.
__________________
~Ryan

rdove is offline   Reply With Quote