473,387 Members | 1,745 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,387 software developers and data experts.

MS Access Report - Display a photo found at a Hyperlink URL

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 report that basically displays photographs. the photographs are located on a web server viewable from my browser. I want to reference the URL and "pull" them into my report at print time

TABLE:
In a Table, I have a field defined as Hyperlink.

A sample piece of data is this URL:
http://www.newberrycounty.net/animal/aug16nelli3.jpg

When I click on the value in the table, it launches the photo just fine in IE.

REPORT
Recordsource is the table with the Hyperlink defined
On the report, I have an Image with these properties:
NAME = image6
Picture - Value reads (None)
Picture Type - Linked
Size Mod - stretch
Hyperlink Address [empty]
hyperlink subaddress [empty]

The field with the hyperlink from the table is on the field. It is named PICTURELOCATION

CODE
In the report details "On format" event, I have this code (I also tried the 'on print' event with the same results)

Me.Image6.Picture = Me.picturelocation.Hyperlink.Address

When I open the report, I get the error run-time error '2220'
microsoft access can't open the file
'http://www.newberrycounty.net/animal/aug16nelli3.jpg'

I find it interesting that I can get to it from the table, but not in the report processing.

Any clear missing pieces?

One final hope is that the photo will be 'resized' nicely to fit in the size of the image on the report (in most cases, this would mean the photo has to shrink).

Thanks!!
Sep 16 '07 #1
5 21126
JKing
1,206 Expert 1GB
Not sure if this is possible to be honest.

I know it can be done in a form as shown here at this link by microsoft Displaying images in reports and forms

The last section of the page details using a web browser object to open a URL picture.
Sep 17 '07 #2
Bummer!

I do some volunteer work and the photos of the dogs can come from any one of a variety of shelters with their own websites. Each week its helpful to have one page printed with photos that can originate from as many as 10 different locations.

its easy to get to the photos, and I was hoping to eliminate the need to go through the steps to 'save' the photos to one common location. If I could just cut and paste the URL into my table and then render the report, I could get all the photos for the week on one page for this particular purpose.

Thanks in advance for any other ideas.
Sep 17 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
Have you tried linking the URL in an OLE Object type field and displaying it in a bound object frame?
Sep 18 '07 #4
Have you tried linking the URL in an OLE Object type field and displaying it in a bound object frame?
Thanks for the response! I appreciate you considering my problem.

Well, I just tried to "link" to the url in an ole object and it doesn't seem to find it. Also, I believe this approach would call for several steps per entry, which i can do easily with my current MS Word approach.

What i was hoping was to just paste append a group of 10 or more URLs to a table as 10 rows and then quickly run my report. Take a 10-15 minute activity and make it about 30 seconds.

It seems thusfar the deal breaker in Access is rendering the report with the link to th URLs.

Thanks for the idea, and please tell me if I misunderstood your approach. I can send more specifics on what I was doing.
Sep 19 '07 #5
Realize this is 3 years later, but you did ever find a solution? I'm trying to do the exact same thing but for 0000s of images.
Jul 25 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Nicola | last post by:
Hi Everyone, I am new to programming and would like to know how to open an access Report from within vb 6. I am trying to write a program to organise cross stitch threads. I have found out how...
5
by: M P | last post by:
Hi! I am currently working on a project that will migrate MS Access DB and Front End to web-base solution to reduce MS Access installation. Previously, users are using MS Access as frontend to...
1
by: ellenh | last post by:
I have read postings on the similar subject including the posting from 2003 shown below. This process works fine to display a single page snapshot report in PowerPoint. I need to display...
0
by: emebohw | last post by:
Hey all, weird problem. I cant seem to get a populated text field that has a hyperlink to work when I output my access report to MS office document image writer file. If I stick a 'label' type...
1
by: sonicfun2006 | last post by:
I have SQL Server Database and MS Access 2003 is connected with ODBC. I have very large amount of records in various tables. The database is very dynamic as it changes every minute. I’m trying to...
7
by: NewDirections | last post by:
I have developed a Access 2000 database to run my business. I use it to track products, Sales, Customers, format Newsletters (select products) for mailing, and etc. What I need to do is add photos...
1
by: ITTrimbleKY | last post by:
Issue: I am creating a report that I want running sums in. The problem is that the field I am summing has 3 different entries that I need to sum. I have tried doing the IIF statement, but it doesn't...
0
by: accessdumbie | last post by:
We have a small amount of information in a Word Document that I would like to print in an Access Report. We have the location of the document for each individual record stored in a hyperlink field...
6
by: iheartvba | last post by:
Hi, I am trying to link a picture to an access report as follows: 1. The location of the Picure is stored as a hyperlink field in a table 2. The On Load Event of the report triggers the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...

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.