473,397 Members | 2,056 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

How to SELECT hyperlink.htm FROM table?

Is there a special syntax for hyperlinks in queries?

I have a table of hyperlinked documents displayed in a subform datasheet.
Clicking the hyperlink opens the document from the hard drive.

I have an Autonumber field (Doc_ID) in the table that indexes the documents,
but sometimes the same hyperlink can have different Doc_ID's, so I need a
query to find the hyperlink in the table. For example:

SELECT Entity_ID FROM tblDocuments WHERE Document = "My Hyperlinked
Document.doc"

-- or --

SELECT Entity_ID FROM tblDocuments WHERE Document = "My_html_page.htm"

But these queries don't work...

I've tried this:

SELECT Entity_ID FROM tblDocuments WHERE Document = "#My Hyperlinked
Document.doc#"

but that didn't work either...

any suggestions welcome!

Thanks!
Nov 12 '05 #1
2 2272
While I'm on this issue of hyperlinks....

Is it possible to programmatically set the Hyperlink Base property for my
database?

Also, what if I store the UNC path to the document as a text field in the
table (in order to avoid hyperlink base issues) -- how then do I open the
document when clicking on it in a subform datasheet? Access seems to know
how to open documents when I format the table field as Hyperlink, but not if
I use the UNC path (formatted as text) in the table.

Thanks again...

"deko" <dj****@hotmail.com> wrote in message
news:Cc*******************@newssvr25.news.prodigy. com...
Is there a special syntax for hyperlinks in queries?

I have a table of hyperlinked documents displayed in a subform datasheet.
Clicking the hyperlink opens the document from the hard drive.

I have an Autonumber field (Doc_ID) in the table that indexes the documents, but sometimes the same hyperlink can have different Doc_ID's, so I need a
query to find the hyperlink in the table. For example:

SELECT Entity_ID FROM tblDocuments WHERE Document = "My Hyperlinked
Document.doc"

-- or --

SELECT Entity_ID FROM tblDocuments WHERE Document = "My_html_page.htm"

But these queries don't work...

I've tried this:

SELECT Entity_ID FROM tblDocuments WHERE Document = "#My Hyperlinked
Document.doc#"

but that didn't work either...

any suggestions welcome!

Thanks!

Nov 12 '05 #2
Is there a way to get the HyperlinkAddress (stored in the table) when I
reference the HyperlinkSubAddress (stored in the form field)?

strHlkAdd = Me!Documents.HyperlinkAddress

This returns an error: Error Number 438: Object doesn't support this
property or method
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: celerystick | last post by:
This is an xsl question, comp.infosystems.www.authoring.stylesheets were not able to help , here goes .... With one xml file containing repeated element <subject>: ...
1
by: Alex | last post by:
I am trying to select a hyperlink from a combobox (web addresses stored in a table) and launch the web site. Selecting from the combobox (ishyperlink=yes) does not launch the site. The same info in...
0
by: Ryan Harvey | last post by:
Hi all, I have written a web user control that contains a repeater control. the ItemTemplate for this control is basically 6 Hyperlinks in a row, that are dynamically allocated one of 7 gif...
5
by: Martin Dew | last post by:
Having some problems getting a hyperlink object to work in my repeater control, It displays the text I have asked it to for the hyperlink, but it does not act as a link. My repeater code is below...
4
by: sakieboy | last post by:
I currently have a datagrid with several columns. The first column in the DataGrid is a HyperLinkColumn. When I select a row, I would like for this HyperlinkColumn to fire. I have the mouseover...
2
by: jodyblau | last post by:
I am trying to go through a list of files in a folder and then add a hyperlink to each one in a table. I am having a difficult time figuring out how to add that link into the table and do it in...
5
by: NJonge01 | last post by:
Greetings, I've read some great advice on similar topics, just nothing matching exactly what I'm trying I'm pretty close I think on making this work, but note quite there. I want to print a...
5
LAD
by: LAD | last post by:
Using Access 2003 on Windows 2000. My Skill Level: Med Low (Some VBA, okay with Access) Form: Single View - based on Query of single Table to sort by field. Application: Dealers email 'contract...
10
by: sierra7 | last post by:
I'm trying to create a form where a user enters a document reference number and then clicks a command button to add a hyperlink to the document, via a file picker. Thanks to Adezii's excellent...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.