Hyperlink send to form fields

G

gcutter

I have a query with a search form and in the results I created a hyperlink
that formats the link to be
http://www.intranet.com/Customer_Inquiry.asp?PONumber=840484. The
Customer_Inquiry.asp is a form that is filled out and submitted to a DB and
sent as an email. I need to have http://www.intranet.com/SO_Lookup.asp run a
query based on a PO# and give results and the PO results field is hyperlinked
to send the PONumber 840484 to fillin the Form Customer Inquiry PONumber
Field in the form.
 
S

Stefan B Rusynko

You'll find examples of what you are trying to do at http://www.asp101.com/samples/


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I have a query with a search form and in the results I created a hyperlink
| that formats the link to be
| http://www.intranet.com/Customer_Inquiry.asp?PONumber=840484. The
| Customer_Inquiry.asp is a form that is filled out and submitted to a DB and
| sent as an email. I need to have http://www.intranet.com/SO_Lookup.asp run a
| query based on a PO# and give results and the PO results field is hyperlinked
| to send the PONumber 840484 to fillin the Form Customer Inquiry PONumber
| Field in the form.
 
G

gcutter

Thanks that site helped. I had to add Default value to the Fields in the
forms to read parameters from the HTML encode.

<%=Server.HtmlEncode(Request("Customer"))%>

Greg
 
S

Stefan B Rusynko

The Request Object is global
See http://www.devguru.com/Technologies/asp/quickref/request.html
You should probably use the Query String Collection
- See http://www.devguru.com/Technologies/asp/quickref/request_querystring.html




| Thanks that site helped. I had to add Default value to the Fields in the
| forms to read parameters from the HTML encode.
|
| <%=Server.HtmlEncode(Request("Customer"))%>
|
| Greg
|
| "Stefan B Rusynko" wrote:
|
| > You'll find examples of what you are trying to do at http://www.asp101.com/samples/
| >
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > _____________________________________________
| >
| >
| > |I have a query with a search form and in the results I created a hyperlink
| > | that formats the link to be
| > | http://www.intranet.com/Customer_Inquiry.asp?PONumber=840484. The
| > | Customer_Inquiry.asp is a form that is filled out and submitted to a DB and
| > | sent as an email. I need to have http://www.intranet.com/SO_Lookup.asp run a
| > | query based on a PO# and give results and the PO results field is hyperlinked
| > | to send the PONumber 840484 to fillin the Form Customer Inquiry PONumber
| > | Field in the form.
| >
| >
| >
 

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

Top