joining strings into a hyperlink

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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

?
 
Back
Top