Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlinks

Status
Not open for further replies.

K3ith

Technical User
Oct 26, 2001
16
0
0
US
Can anyone inform me as to change the read only property of a hyperlink. When I create a new hyperlink through some code i keep getting this message, "The hyperlinkaddress or hyperlinksubaddress property is readonly for this hyperlink". I do not have the hyperlink open it is just stored as a record in my table for later use.

Any advice appreciated.
Thanks
Keith
 
Well, my guess is that you display the hyperlink in a text box on a form.
Don't try to change the Address or SubAddress properties...they are indeed read only... Change the hyperlink itself:

Me("HyperlinkTextBox") = "#
or

Me("HyperlinkTextBox")= "#ftp://ftp.artrom.ro/AutoMail97.zip#"

or

Me("HyperlinkTextBox")= "#mailto:someone@somedomain.com#"

or

Me("HyperlinkTextBox")= "#C:\winzip.log#"

or
Me("HyperlinkTextBox")= "#\\ServerName\Sharename\FileName.txt#"

HTH,

Dan
Dan
[pipep
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top