Trouble setting hyperlink string with code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pemigh

    #1

    Trouble setting hyperlink string with code

    If I type
    www.microsoft.com
    into the control txtSearchString which is bound to a hyperlink field, I
    can click it and automatically zoom off to the web page.


    But if I try to set the field with this snippet of code
    Me.txtSearchStr ing = "www.microsoft. com"
    DoCmd.RunComman d acCmdSaveRecord
    clicking on the field does nothing.

    Well, not quite nothing. A tiny little square appears under the pointy
    hand.

    Any ideas?

    pemigh

Working...