Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send Data To An ASP form

Status
Not open for further replies.

Toyman

Programmer
Jun 19, 2001
68
GB
Hi

I have a list of customers in a form ListCust.asp
How do I sent the customer code to ListCustDetail.asp without using the Server.QueryString method. I want to be able just to click on the customer's code in ListCust.asp, like a hyperlink.

Thanks
Toyman
 
let's say that this is a link to a customer with customer id 78. so the output from ListCust.asp should be something like:

<a href=&quot;ListCustDetail.asp?cid=78&quot;>customer 78</a>

now inside ListCustDetail.asp you add the code:
Code:
Dim intCustomerID
intCustomerID = Request.QueryString(&quot;cid&quot;)
now intCustomerID holds the id for the requested customer.

hope this helps

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top