Hyperlink writing thru code

  • Thread starter Thread starter Chris James
  • Start date Start date
C

Chris James

I have a hyperlink field which I want to write to thru code .
I'm using :

!fldHyperlink = stringMyHyperlink

This appears to work fine .
Problem is that the hyperlinks dont actually work !
When I go to edit them the 'address' is blank .
MyHyperlink text is just in the 'display text ' .

how do I 'write' a link and the display text ?

Thanks

Chris James
 
You need to include the 3 parts of the hyperlink, separated by #.
Display name is first.
Address is second.

Example:
!fldHyperlink = "Allen Browne's Database And Training#allenbrowne.com#"

For more information, see:
Introduction to Hyperlink fields
at:
http://allenbrowne.com/casu-09.html
 
Back
Top