joining strings into a hyperlink

G

Guest

I am trying to join two strings, an ASP session ID, a field entered into a
tracking form, with a hard-coded address to a data-dump page. The http
address is correct, because cutting and pasting it into a browser's address
bar opens the page. However, clicking the form's hyperlinked field will not
open the web page.

The field on the underlying table is set to a hyperlink; if I comment out
the code, and enter an eternal web address, the hyperlink opens properly.

Does anyone out there know how to make this work?

The code looks something like this.

Sub SessionID_OnUpdate

Me.txtHyperlink = "http://aspdatapage/" & Me.txtSessionID

End Sub
 
J

John Nurick

Hi Leo,

Is the textbox Me.txtHyperlink bound to a hyperlink field in the
underlying table? If not, AFAIK it won't behave as a hyperlink.

What happens if you click on a button whose Event procedure contains

Application.FollowHyperlink "http://aspdatapage/" & Me.txtSesssionID

?
 

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