R
Randy
For the life of me, I can't figure out how to correctly punctuate the end
of this statement!
..ASP classic. Access 2000 database (I'm stuck with this for the time being)
When I in an actual value (2052 in this case) as follows:
Recset.Open "SELECT URL.TITLE, URL.ID, URL.URL from URL, BOATTOURL WHERE
URL.ID = 2052", CONN, 2, 3
It works fine and finds all appropriate records.
I just can't figure out how to put the request.querystring in there as
below. I've put in every comination of single, double, triple quotes I can
think of and just won't work.
Recset.Open "SELECT URL.TITLE, URL.ID, URL.URL from URL, BOATTOURL WHERE
URL.ID = URL_ID AND CLASS_ID = Clng(Request.QueryString("class_ID"))'"',
CONN, 2, 3
(this would normally be on one continuous line).
It's a numeric value being passed from a previous page.
As you can tell, I'm not too experienced with .asp OR SQL.
Hope this is enough info and thanks to anyone who would care to take the
time to look at it.
of this statement!
..ASP classic. Access 2000 database (I'm stuck with this for the time being)
When I in an actual value (2052 in this case) as follows:
Recset.Open "SELECT URL.TITLE, URL.ID, URL.URL from URL, BOATTOURL WHERE
URL.ID = 2052", CONN, 2, 3
It works fine and finds all appropriate records.
I just can't figure out how to put the request.querystring in there as
below. I've put in every comination of single, double, triple quotes I can
think of and just won't work.
Recset.Open "SELECT URL.TITLE, URL.ID, URL.URL from URL, BOATTOURL WHERE
URL.ID = URL_ID AND CLASS_ID = Clng(Request.QueryString("class_ID"))'"',
CONN, 2, 3
(this would normally be on one continuous line).
It's a numeric value being passed from a previous page.
As you can tell, I'm not too experienced with .asp OR SQL.
Hope this is enough info and thanks to anyone who would care to take the
time to look at it.