Results 1 to 4 of 4
  1. #1
    mhagerman is offline Novice
    Windows XP Access 2000
    Join Date
    Jun 2013
    Posts
    2

    Converted from 2007 to 2000, DLookup for hyperlinks is seeing double.

    These forums have helped me out in quite a few spots before, but this is the first I just can't figure out!

    First: I have a database written originally in Access 2007 that I have downconverted to Access 2000. The DB has to run on this version. Everything was okey-dokey in 2007, but in 2000, one of my fields is behaving strangely. The field uses DLookup to read a value from a query and reports it as a hyperlink (which it is). However, in Access 2000, it always displays the hyperlink twice in the same field, effectively rendering the link useless. It does report the correct value, and is otherwise fine, except for the double reporting.



    I've tested the DLookup function on the same form, and it works for other data types - just not the hyperlink. It also seems that when I change the text box that reports the hyperlink to a list or combo box, it only displays once, but these can't be clicked on and are equally as ineffectual. I've scoured the Properties of the text box as well as the query and can't figure out what's wrong.

    Input and ideas are most appreciated. Since this is a work-related issue, I can't post the database, but if necessary I can copy the form/query to a new DB and provide that.

    Thanks in advance,

    Matt

  2. #2
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742

  3. #3
    mhagerman is offline Novice
    Windows XP Access 2000
    Join Date
    Jun 2013
    Posts
    2
    Hi Dal Jeanis,

    Thanks for your reply! It put me on a path to (eventually) figuring out the solution.

    It turns out, Access was displaying the entire contents of the hyperlink data - meaning it showed the three parts of a hyperlink entry:

    display text # file name # reference within the file

    So I was "seeing double" because it was showing me both the display text and the file name, which in my case happened to be the same. After a lot of frustration with pound signs, I eventually resorted to using a label and converting it to a hyperlink using the following forum post:

    http://www.pcreview.co.uk/forums/hyp...-t2314092.html

    Specifically, using the me.lblName.HyperlinkAddress = "http://www.whatever.com" function and replacing the address with the DLookUp function I was currently using.

    Matt

  4. #4
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Awesome! Pleaes mark thread "Solved". Top of page, under thread tools.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Double dlookup failing
    By JeroenMioch in forum Programming
    Replies: 3
    Last Post: 02-07-2013, 01:50 PM
  2. Macros from 2007 to 2000
    By Lowell in forum Programming
    Replies: 5
    Last Post: 11-04-2012, 06:57 PM
  3. Losing hyperlinks when file moved Access 2007
    By lkevinc42036 in forum Import/Export Data
    Replies: 1
    Last Post: 07-22-2012, 02:22 PM
  4. Dlookup windows 7 64 with 2000 db
    By plaifol in forum Programming
    Replies: 7
    Last Post: 05-11-2011, 11:38 AM
  5. Converting from 2000 to 2007
    By cdpgh2010 in forum Access
    Replies: 1
    Last Post: 03-12-2010, 12:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums