Hi,
Is it possible to add a hyperlink to a report? My database contains details of various clinical trials running in the UK and I can produce a report showing those that are potentially open for new hospitals to join.
I "print" this report to a PDF file so I can email it to various doctors and managers who don't have access to my database. There is also a web-based national database of such trials and it would be great to be able to include a hyperlink to the right URL from within my report.
I've got this working when I display the records on a form...
....but is there any way to make this work on a report? Access lets me add a button (I was going to make it transparent and place it over the detail line in the report) but there is no 'Event' where I can attach code.
Is there any way around this?
Thanks,
Is it possible to add a hyperlink to a report? My database contains details of various clinical trials running in the UK and I can produce a report showing those that are potentially open for new hospitals to join.
I "print" this report to a PDF file so I can email it to various doctors and managers who don't have access to my database. There is also a web-based national database of such trials and it would be great to be able to include a hyperlink to the right URL from within my report.
I've got this working when I display the records on a form...
Code:
'Declare a temporary variable to store the main part of the hyperlink address
Dim URLpart1 As String
'Now, actually store it there
URLpart1 = "http://public.ukcrn.org.uk/Search/StudyDetail.aspx?StudyID="
'Set the hyperlink address of the button to temp variable declared above & the ID number
Me.cmdHyperlink.HyperlinkAddress = URLpart1 & Me.UKCRN_ID
....but is there any way to make this work on a report? Access lets me add a button (I was going to make it transparent and place it over the detail line in the report) but there is no 'Event' where I can attach code.
Is there any way around this?
Thanks,