Format for hyperlink with pound sign

G

Guest

Hello,

While setting up a hyperlink to a pdf, we would also like to include the
variables within the URL that would instruct which page of the pdf to open as
well as the zoom value. The hyperlink would look like this:
http://www.mywebsite.com/test.pdf#page=2&zoom=100,0,150. Access is confused
by the pound symbol and converts it to a forward slash.

Is there some other format/char code we can use in place of the pound symbol?

Cheers,

simo
 
G

Guest

Tom,

Thanks for the suggestion. Just gave it a try, and the pound symbol still
converted to a forward slash.

In the meantime I also created an additional text field for the portion of
the hyperlink that follows the pound symbol and tried this as the
HyperlinkSubAddress property. The pound symbol remained the pound symbol,
however the browser treats what follows as an anchor tag so basically it
didn't understand what to do so opened an empty browser window.

Any other suggestions?

Simo
 
G

Guest

Hi Tom,

Just wanted to let you know that I created an additional text field to hold
the portion of the hyperlink from the # symbol to the end
(#page=2&zoom=100,0,150) and used this Application.FollowHyperlink
Me.Listbox.Column(0), Me.Listbox.Column(1) as an onclick event for the
command button. Success!

Thank you for your help - I appreciate it!

Simo
 

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