Dynamic hyperlink using returned data

  • Thread starter Thread starter Rene Rivers
  • Start date Start date
R

Rene Rivers

I can't seem to figure out how to do this. I have a form
that searches my database for contact information. I want
to be able to use the returned data in a hyperlink.

For example:
I have the users searching on a name and city. I want to
be able to have the result returned formatted like so:
http://www.somewebaddress.com/search.php?
name=<information returned from
database>&city=<information returned from database>

Anybody have any idea how to accomplish this?
 
Rene Rivers said:
I can't seem to figure out how to do this. I have a form
that searches my database for contact information. I want
to be able to use the returned data in a hyperlink.

For example:
I have the users searching on a name and city. I want to
be able to have the result returned formatted like so:
http://www.somewebaddress.com/search.php?
name=<information returned from
database>&city=<information returned from database>

Anybody have any idea how to accomplish this?

Rene,

here's a suggestion:

Dim strHyperlink

strHyperlink = "http://www.somewebaddress.com/search.php?name=" &
strMyName & "&city=" & strMyCityBest regards

If it doesn't help, please give more info: where are the name and city
returnd (code, control?), where comes the web address from, what do
you want to do with the hyperlink (write it in a control, a table?).

Emilia

Emilia Maxim
PC-SoftwareService, Stuttgart
http://www.maxim-software-service.de
 
Back
Top