For starters you need troubleshoot your variables...
When my sql is not working properly I like to write it out to screen before it executes to see what are the actual values being passed.
Response.Write(sql) and comment out the
' rs1.Open sql,con1
Also I'm not sure Request("myTextbox") is a proper way of retriving form variables in ASP. I always use Request.Form() or Request.QueryString()
Reputation Points: 11
Solved Threads: 0
Junior Poster in Training
Offline 54 posts
since Jun 2005