"Arguments are of the wrong type, out of acceptable range" error

J

J. Muenchbourg

I'm getting an "Arguments are of the wrong type, out of acceptable
range, in conflicts with each other " error , pointing to the sql
statement in this block:

Dim rstime
Set rstime = Server.CreateObject("ADODB.Recordset")
rstime.Open "SELECT * FROM TimestarResorts where resortname='" &
request.querystring("resortname") & "' and roomsize='" &
request.querystring("roomsize") & "'", dsn, 1, 3


i use this same sql statement in the same application, with the same
parameters and arguments, and it works just fine.

??

Muench
 
T

TomB

Do a Response.Write of your sql string, just to ensure you are getting what
you expect.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top