This is related to a previous thread in the Microsoft Access Queries and Jet SQL forum, number 701-1228509.
For background, I am working on a company intranet which tracks documents. The document information is stored in an Access database, which is used by the people who actually control the documents. One field in the database contains the location of the file for the documents to which it is attached. This field is formatted as a hyperlink.
The problem that I encountered came up when I was forced to change my version of Access from 2000 to 2003. All data stored in these fields before this 'upgrade' still functions properly when queried by the intranet. New entries, however, return both the display text and the address, with no delineation between them. When this text is inserted as the address in a hyperlink on the HTML intranet page, the link chokes because the double-address it is given as a single address does not work.
What I was told when I asked about this before in one of the Access forums was that I needed to "Have a look at the HyperlinkPart method.", and I was given a link to an article from Microsoft on this subject. I've looked over this article, and I cannot see how to apply it to my situation. I need to write a query that will only pull the address part of the information stored in this field, but have never heard of querying a method on a field from a database. Can anyone help me out with this issue?
Cheryl dc Kern
For background, I am working on a company intranet which tracks documents. The document information is stored in an Access database, which is used by the people who actually control the documents. One field in the database contains the location of the file for the documents to which it is attached. This field is formatted as a hyperlink.
The problem that I encountered came up when I was forced to change my version of Access from 2000 to 2003. All data stored in these fields before this 'upgrade' still functions properly when queried by the intranet. New entries, however, return both the display text and the address, with no delineation between them. When this text is inserted as the address in a hyperlink on the HTML intranet page, the link chokes because the double-address it is given as a single address does not work.
What I was told when I asked about this before in one of the Access forums was that I needed to "Have a look at the HyperlinkPart method.", and I was given a link to an article from Microsoft on this subject. I've looked over this article, and I cannot see how to apply it to my situation. I need to write a query that will only pull the address part of the information stored in this field, but have never heard of querying a method on a field from a database. Can anyone help me out with this issue?
Cheryl dc Kern