A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Hyperlinks from queries



 
 
Thread Tools Display Modes
  #1  
Old January 25th, 2007, 06:12 PM posted to microsoft.public.access.reports
[email protected]
external usenet poster
 
Posts: 22
Default Hyperlinks from queries

Hi all
What I'm trying to do is farily simple, but I've having loads of
trouble achieving it.
Basically I have a report generated based on a query which then gets
outputed as a PDF.
I would like to create a hyperlink where the "text to display" is taken
from one field (name:textname) and the hyperlink address is from
another field (name:link)

At the moment I'm having problems as both are obviously unbound, so
they can't be made into hyperlinks.

I've written this code;
--------------------
Function Links()

Dim link As String
Dim name As String

link = Me.link
name = Me.name

Me.label.hyperlink.address = link
-----------------------

with a label called Label

but I generate the report and output as pdf, the link doesn't work.
Also, how do I change the text to display so it matches the output of
the name field?
Help. This is driving me nuts as there is next to no documentation on
this.

Thanks in advance
T.

  #2  
Old March 28th, 2007, 03:52 PM posted to microsoft.public.access.reports
Phoenix Clarke
external usenet poster
 
Posts: 3
Default Hyperlinks from queries

I have been researching a solution to the same problem. If anyone is able to
provide a solution or has provided a solution, please post it here. Thanks!

" wrote:

Hi all
What I'm trying to do is farily simple, but I've having loads of
trouble achieving it.
Basically I have a report generated based on a query which then gets
outputed as a PDF.
I would like to create a hyperlink where the "text to display" is taken
from one field (name:textname) and the hyperlink address is from
another field (name:link)

At the moment I'm having problems as both are obviously unbound, so
they can't be made into hyperlinks.

I've written this code;
--------------------
Function Links()

Dim link As String
Dim name As String

link = Me.link
name = Me.name

Me.label.hyperlink.address = link
-----------------------

with a label called Label

but I generate the report and output as pdf, the link doesn't work.
Also, how do I change the text to display so it matches the output of
the name field?
Help. This is driving me nuts as there is next to no documentation on
this.

Thanks in advance
T.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.