Going to URL Interesting Question

G

Guest

I created a database for my book collection. One of the fields is the ISBN of
the book. Amazon.com has a product page for every book by going to
http://www.amazon.com/exec/obidos/ASIN/[ISBN].
Therefore what I'm trying to do and can't figure out how is to have it so
that whenever I double-click on the field ISBN in my form, it will add the
value to the end of "http://www.amazon.com/exec/obidos/ASIN/" (so that, for
example, I have "http://www.amazon.com/exec/obidos/ASIN/0782123260") then
launch Internet Explorer and load that page.
Thanks in advance, Mike
 
D

Dirk Goldgar

MiniMike said:
I created a database for my book collection. One of the fields is the
ISBN of the book. Amazon.com has a product page for every book by
going to http://www.amazon.com/exec/obidos/ASIN/[ISBN].
Therefore what I'm trying to do and can't figure out how is to have
it so that whenever I double-click on the field ISBN in my form, it
will add the value to the end of
"http://www.amazon.com/exec/obidos/ASIN/" (so that, for example, I
have "http://www.amazon.com/exec/obidos/ASIN/0782123260") then launch
Internet Explorer and load that page.
Thanks in advance, Mike

Const conAmazon As String = "http://www.amazon.com/exec/obidos/ASIN/"

Application.FollowHyperlink conAmazon & Me.ISBN
 
G

Guest

Dear Dirk,
Thanks--this works brilliantly!
Mike

Dirk Goldgar said:
MiniMike said:
I created a database for my book collection. One of the fields is the
ISBN of the book. Amazon.com has a product page for every book by
going to http://www.amazon.com/exec/obidos/ASIN/[ISBN].
Therefore what I'm trying to do and can't figure out how is to have
it so that whenever I double-click on the field ISBN in my form, it
will add the value to the end of
"http://www.amazon.com/exec/obidos/ASIN/" (so that, for example, I
have "http://www.amazon.com/exec/obidos/ASIN/0782123260") then launch
Internet Explorer and load that page.
Thanks in advance, Mike

Const conAmazon As String = "http://www.amazon.com/exec/obidos/ASIN/"

Application.FollowHyperlink conAmazon & Me.ISBN

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
 

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