Results 1 to 2 of 2

Thread: Access 2000 VBA Question Hyperlinks

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Posts
    107

    Access 2000 VBA Question Hyperlinks

    Hi,

    Could someone please tell me how I can automatically have a hyperlink field populate with an address. I used the following code

    Me!Photo = "C:\Photos\P0" & myid & ".jpg"

    Me!Headshot is a hyperlink field displaying in a form. After another field is updated I want this field to populate automatically. The above line only seems to populate the text to display but not the hyperlink address.

    Thank you.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Posts
    107
    I think I figured it out. I need to insert # in the code below

    Me!Photo = "#C:\Photos\P0" & myid & ".jpg#"

    Once I added the pound sign it seemed to work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width