Passing field values to access

  • Thread starter Thread starter DeadManWalking
  • Start date Start date
D

DeadManWalking

HELP!

I need to pass field-values from an ASP to an access-db where they're
used as PARAMETERS in a parameter-query.

Can anyone tell me how to do this without first writing them into a
table or so...?

PLEASE HELP!
I'm really desperate...


DMW
 
pagename.asp?Id=10000&loc=south

then on the page the run the query in HTML view

<%
Dim ID
Dim Loc
ID = Request.QueryString("Id")
Loc = Request.QueryString("loc")
%>

then your query would be

Select * from tablename where ID = '" & ID & "' and Loc = '" & Loc "' "

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Thanks a lot!
I'll try this one

DMW

Thomas A. Rowe said:
pagename.asp?Id=10000&loc=south

then on the page the run the query in HTML view

<%
Dim ID
Dim Loc
ID = Request.QueryString("Id")
Loc = Request.QueryString("loc")
%>

then your query would be

Select * from tablename where ID = '" & ID & "' and Loc = '" & Loc "' "

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Back
Top