473,406 Members | 2,769 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,406 software developers and data experts.

Create a Query on a Hyperlink

Have '97 and am trying to create a query on the underlying Hyperlink
field - ie if xxx then else ...
Can't find a way to do this and would very much appreciate some kind
help - thanks - John

Nov 13 '05 #1
5 5835
Not sure I understand your example. Can you explain what xxx is supposed to
be?

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"Gamesetal" <in**@gamesetal.net> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Have '97 and am trying to create a query on the underlying Hyperlink
field - ie if xxx then else ...
Can't find a way to do this and would very much appreciate some kind
help - thanks - John

Nov 13 '05 #2
Sorry - that wasn't too helpful of me - The hyperlink field will have a
legend in a search, form or table - the hyperlink under this -
activated when clicked upon - is what I want to search on - that could
be a link to a variety of web pages - I can't seem to query at the
hyperlink depth just the field image - God am I making this any
clearer? - so if Hyperlink = www.xxx.com then show in the query results
[ criteria = www.xxx.com ] - honestly this has nothing to do with sex
sites ;~)
Hope this explains my problem.

Nov 13 '05 #3
Gamesetal wrote:
Sorry - that wasn't too helpful of me - The hyperlink field will have a
legend in a search, form or table - the hyperlink under this -
activated when clicked upon - is what I want to search on - that could
be a link to a variety of web pages - I can't seem to query at the
hyperlink depth just the field image - God am I making this any
clearer? - so if Hyperlink = www.xxx.com then show in the query results
[ criteria = www.xxx.com ] - honestly this has nothing to do with sex
sites ;~)
Hope this explains my problem.

See HyperlinkPart in help. In VBA, you can use acAddress and acDisplay
in HyplerlinkPart. In a query, you need to use the value of acAddress
or acDisplay. To find the values, go to the Immediate/Debug window and
enter
? acDisplay
to get the value.

Now, if you break the hyperlink apart, clicking on that value in the
column will not execute a jump to the link. So you might have something
like
Select Hyperlink from Table Where HyperlinkPart(hl,2) = "www.xxx.com"
Nov 13 '05 #4
Thanks for that but I am a layman and don't know a thing about VBA??? -
can I do this at the Access Query Level without resorting to
programming?
TIA - John

Nov 19 '05 #5
Thank you all - I have managed it at the Query level using
HyperlinkPart and guessing [? sorry] at the part number... John

Nov 28 '05 #6

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

Similar topics

6
by: NB | last post by:
Hi Is there any way to call up the query design view from code? In my compiled-as-MDE app everything is hidden from end users. However, I want advanced user to have access to the query design...
3
by: di | last post by:
I have a Access Database, and I would like to create a word document that (preferable would filter)links to ACCESS table or query. I would like to print the word document on the filtered record...
1
by: Mundungus Fletcher | last post by:
Greetings, I apologize if this has been asked and answered a lot. Googling showed me a few people asking, but I didn't find any clear-cut answers. I have a vendor db, and I need to create a...
1
by: news.microsoft.com | last post by:
Hello and first of all thank you for your time. I am currently developing an ASP.net web page, which has data stored in SQL Server. It is a web page for a State Agent and my problem is: I need...
1
by: TF | last post by:
This group came through for me last time so here we go again. My page shows paint colors, brand name, product code, etc in a gridview with the background matching the paint color. Several links on...
1
by: Frank Milverckowitz | last post by:
Hi, I'm trying to do something common and what should be simple using the GridView "Add Columns" feature in Visual Studio 2005. All I want to do is add a Hyperlink column that will take the...
1
by: TheRock | last post by:
I hope I can make this clear. I have a combo box that allows the user to query an IP address. They type in an IP address and the results are returned via a form that allows them to click on the IP...
8
by: kumarboston | last post by:
Hi All, I have a mysql database and 3 pages which queries and returns the data. 1st page(main.html) is just a form in html which takes query from the user and is connected to "form...
4
by: paulmitchell507 | last post by:
I am using Access 2000 and I would like to update a field using an update query. Lets call the field that I would like to update !. Table1 also contains a field called ! . I would like to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.