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  

Report Images



 
 
Thread Tools Display Modes
  #1  
Old October 31st, 2006, 03:42 PM posted to microsoft.public.access.reports
Urban Planning Major
external usenet poster
 
Posts: 14
Default Report Images

Good day,
I have a table with picture links already entered in the table. How can I
convert these links to image that is seeable on a report with out clicking?
My end result should be a report that haves an image next to my reporting..

  #2  
Old October 31st, 2006, 05:31 PM posted to microsoft.public.access.reports
fredg
external usenet poster
 
Posts: 4,386
Default Report Images

On Tue, 31 Oct 2006 07:42:01 -0800, Urban Planning Major wrote:

Good day,
I have a table with picture links already entered in the table. How can I
convert these links to image that is seeable on a report with out clicking?
My end result should be a report that haves an image next to my reporting..


Do you mean you have the images stored in a folder on your hard drive,
with the path to the image and it's name, i.e.
("C:\MyFolder\SunsetAtTheBeach.jpg")
stored in a field in your table?

Add an Image control to the report.
After you add and save the image control, delete it's picture
property.
Code the Detail Section Format event (if the picture is in the detail
section):
Me!ImageName.Picture = Me![FieldName]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #3  
Old October 31st, 2006, 08:46 PM posted to microsoft.public.access.reports
Urban Planning Major
external usenet poster
 
Posts: 14
Default Report Images



"fredg" wrote:

On Tue, 31 Oct 2006 07:42:01 -0800, Urban Planning Major wrote:

Good day,
I have a table with picture links already entered in the table. How can I
convert these links to image that is seeable on a report with out clicking?
My end result should be a report that haves an image next to my reporting..


Do you mean you have the images stored in a folder on your hard drive,
with the path to the image and it's name, i.e.
("C:\MyFolder\SunsetAtTheBeach.jpg")
stored in a field in your table?

Add an Image control to the report.
After you add and save the image control, delete it's picture
property.
Code the Detail Section Format event (if the picture is in the detail
section):
Me!ImageName.Picture = Me![FieldName]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


I'm sorry I am a novice at access. How do you add a image control?
Thanks
  #4  
Old October 31st, 2006, 10:41 PM posted to microsoft.public.access.reports
fredg
external usenet poster
 
Posts: 4,386
Default Report Images

On Tue, 31 Oct 2006 12:46:02 -0800, Urban Planning Major wrote:

"fredg" wrote:

On Tue, 31 Oct 2006 07:42:01 -0800, Urban Planning Major wrote:

Good day,
I have a table with picture links already entered in the table. How can I
convert these links to image that is seeable on a report with out clicking?
My end result should be a report that haves an image next to my reporting..


Do you mean you have the images stored in a folder on your hard drive,
with the path to the image and it's name, i.e.
("C:\MyFolder\SunsetAtTheBeach.jpg")
stored in a field in your table?

Add an Image control to the report.
After you add and save the image control, delete it's picture
property.
Code the Detail Section Format event (if the picture is in the detail
section):
Me!ImageName.Picture = Me![FieldName]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


I'm sorry I am a novice at access. How do you add a image control?
Thanks


In Report Design View, click on the ToolBox tool button (it's icon is
a hammer and wrench).
Make sure the Wizard button (The Wand with Stars) is NOT depressed.
Then select the Image control and drag it onto your report.
Delete it's attached label.

Then code the Section's Format event as mentioned in the previous
message.


--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #5  
Old December 30th, 2006, 04:35 AM posted to microsoft.public.access.reports
NetworkTrade
external usenet poster
 
Posts: 825
Default Report Images

Hi - not sure if anyone will reply to this older dialog....just searched it
and it is my exact need at the moment. Followed your advice and am getting
an error 2220 that "Access can not open" it lists the path name but also
duplicate path name with %20 and other such goobledegook thrown in....

the hyperlink in the table opens fine to the jpg....so not clear as to how
to correct this

for the sake of full disclosure; is a continuous report - and some of the
fields are blank....wonder if this is the cause....
--
NTC


"Urban Planning Major" wrote:



"fredg" wrote:

On Tue, 31 Oct 2006 07:42:01 -0800, Urban Planning Major wrote:

Good day,
I have a table with picture links already entered in the table. How can I
convert these links to image that is seeable on a report with out clicking?
My end result should be a report that haves an image next to my reporting..


Do you mean you have the images stored in a folder on your hard drive,
with the path to the image and it's name, i.e.
("C:\MyFolder\SunsetAtTheBeach.jpg")
stored in a field in your table?

Add an Image control to the report.
After you add and save the image control, delete it's picture
property.
Code the Detail Section Format event (if the picture is in the detail
section):
Me!ImageName.Picture = Me![FieldName]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


I'm sorry I am a novice at access. How do you add a image control?
Thanks

  #6  
Old December 30th, 2006, 04:15 PM posted to microsoft.public.access.reports
Ken Snell \(MVP\)
external usenet poster
 
Posts: 2,506
Default Report Images

Post more details about what you are doing, incluiding path names, etc.

--

Ken Snell
MS ACCESS MVP

"NetworkTrade" wrote in message
...
Hi - not sure if anyone will reply to this older dialog....just searched
it
and it is my exact need at the moment. Followed your advice and am
getting
an error 2220 that "Access can not open" it lists the path name but also
duplicate path name with %20 and other such goobledegook thrown in....

the hyperlink in the table opens fine to the jpg....so not clear as to how
to correct this

for the sake of full disclosure; is a continuous report - and some of the
fields are blank....wonder if this is the cause....
--
NTC


"Urban Planning Major" wrote:



"fredg" wrote:

On Tue, 31 Oct 2006 07:42:01 -0800, Urban Planning Major wrote:

Good day,
I have a table with picture links already entered in the table. How
can I
convert these links to image that is seeable on a report with out
clicking?
My end result should be a report that haves an image next to my
reporting..

Do you mean you have the images stored in a folder on your hard drive,
with the path to the image and it's name, i.e.
("C:\MyFolder\SunsetAtTheBeach.jpg")
stored in a field in your table?

Add an Image control to the report.
After you add and save the image control, delete it's picture
property.
Code the Detail Section Format event (if the picture is in the detail
section):
Me!ImageName.Picture = Me![FieldName]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


I'm sorry I am a novice at access. How do you add a image control?
Thanks



  #7  
Old December 30th, 2006, 08:07 PM posted to microsoft.public.access.reports
NetworkTrade
external usenet poster
 
Posts: 825
Default Report Images

Hi, searched this site and saw advice same as this string that to make an
image appear in a report to add code into the Report Detail OnFormat event of:
Me.ImageControl.Picture=Me.txtImageName

and it wasn't working per my prior message - - - upon further experimenting
I realized that this advice works fine if the txtImageName value is indeed a
text field from the table i.e. C:\Test.jpg

but if txtImageName is a hyperlink defined table field, rather than a text
field, as is my case then it doesn't work.

just to experiment I threw in an additional unbound textbox in the report
and set its control to:
=txtImageName
to see maybe what the value from the hyperlink and when the hyperlink is
C:\Test.jpg active underlined blue hyperlink the unbound text box is showing:
C:\Test.jpg#.../../../../

and this somewhat corresponds to the error message originally described
before 2220 that has lots of goobledygook in the path name

does one work with the hyperlink or does one somehow force the hyperlink to
plain text.....would welcome advice.
--
NTC


"Ken Snell (MVP)" wrote:

Post more details about what you are doing, incluiding path names, etc.

--

Ken Snell
MS ACCESS MVP

"NetworkTrade" wrote in message
...
Hi - not sure if anyone will reply to this older dialog....just searched
it
and it is my exact need at the moment. Followed your advice and am
getting
an error 2220 that "Access can not open" it lists the path name but also
duplicate path name with %20 and other such goobledegook thrown in....

the hyperlink in the table opens fine to the jpg....so not clear as to how
to correct this

for the sake of full disclosure; is a continuous report - and some of the
fields are blank....wonder if this is the cause....
--
NTC


"Urban Planning Major" wrote:



"fredg" wrote:

On Tue, 31 Oct 2006 07:42:01 -0800, Urban Planning Major wrote:

Good day,
I have a table with picture links already entered in the table. How
can I
convert these links to image that is seeable on a report with out
clicking?
My end result should be a report that haves an image next to my
reporting..

Do you mean you have the images stored in a folder on your hard drive,
with the path to the image and it's name, i.e.
("C:\MyFolder\SunsetAtTheBeach.jpg")
stored in a field in your table?

Add an Image control to the report.
After you add and save the image control, delete it's picture
property.
Code the Detail Section Format event (if the picture is in the detail
section):
Me!ImageName.Picture = Me![FieldName]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


I'm sorry I am a novice at access. How do you add a image control?
Thanks




  #8  
Old January 3rd, 2007, 02:27 AM posted to microsoft.public.access.reports
Ken Snell \(MVP\)
external usenet poster
 
Posts: 2,506
Default Report Images

You can do what you seek this way:

Me.ImageControl.Picture=Replace(Me.txtImageName.Va lue, "#", "", 1, -1,
vbTextCompare)

--

Ken Snell
MS ACCESS MVP


"NetworkTrade" wrote in message
news
Hi, searched this site and saw advice same as this string that to make an
image appear in a report to add code into the Report Detail OnFormat event
of:
Me.ImageControl.Picture=Me.txtImageName

and it wasn't working per my prior message - - - upon further
experimenting
I realized that this advice works fine if the txtImageName value is indeed
a
text field from the table i.e. C:\Test.jpg

but if txtImageName is a hyperlink defined table field, rather than a text
field, as is my case then it doesn't work.

just to experiment I threw in an additional unbound textbox in the report
and set its control to:
=txtImageName
to see maybe what the value from the hyperlink and when the hyperlink is
C:\Test.jpg active underlined blue hyperlink the unbound text box is
showing:
C:\Test.jpg#.../../../../

and this somewhat corresponds to the error message originally described
before 2220 that has lots of goobledygook in the path name

does one work with the hyperlink or does one somehow force the hyperlink
to
plain text.....would welcome advice.
--
NTC


"Ken Snell (MVP)" wrote:

Post more details about what you are doing, incluiding path names, etc.

--

Ken Snell
MS ACCESS MVP

"NetworkTrade" wrote in message
...
Hi - not sure if anyone will reply to this older dialog....just
searched
it
and it is my exact need at the moment. Followed your advice and am
getting
an error 2220 that "Access can not open" it lists the path name but
also
duplicate path name with %20 and other such goobledegook thrown in....

the hyperlink in the table opens fine to the jpg....so not clear as to
how
to correct this

for the sake of full disclosure; is a continuous report - and some of
the
fields are blank....wonder if this is the cause....
--
NTC


"Urban Planning Major" wrote:



"fredg" wrote:

On Tue, 31 Oct 2006 07:42:01 -0800, Urban Planning Major wrote:

Good day,
I have a table with picture links already entered in the table.
How
can I
convert these links to image that is seeable on a report with out
clicking?
My end result should be a report that haves an image next to my
reporting..

Do you mean you have the images stored in a folder on your hard
drive,
with the path to the image and it's name, i.e.
("C:\MyFolder\SunsetAtTheBeach.jpg")
stored in a field in your table?

Add an Image control to the report.
After you add and save the image control, delete it's picture
property.
Code the Detail Section Format event (if the picture is in the
detail
section):
Me!ImageName.Picture = Me![FieldName]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


I'm sorry I am a novice at access. How do you add a image control?
Thanks






  #9  
Old January 3rd, 2007, 03:26 AM posted to microsoft.public.access.reports
NetworkTrade
external usenet poster
 
Posts: 825
Default Report Images

thanks....I went down another path of exploring the hyperlink.

Discovered the HyperlinkPart function. Put that in a calculated field in a
query and am able to convert the hyperlink to text with just the part of the
hyperlink I need...i.e. the path.
--
NTC


"Ken Snell (MVP)" wrote:

You can do what you seek this way:

Me.ImageControl.Picture=Replace(Me.txtImageName.Va lue, "#", "", 1, -1,
vbTextCompare)

--

Ken Snell
MS ACCESS MVP


"NetworkTrade" wrote in message
news
Hi, searched this site and saw advice same as this string that to make an
image appear in a report to add code into the Report Detail OnFormat event
of:
Me.ImageControl.Picture=Me.txtImageName

and it wasn't working per my prior message - - - upon further
experimenting
I realized that this advice works fine if the txtImageName value is indeed
a
text field from the table i.e. C:\Test.jpg

but if txtImageName is a hyperlink defined table field, rather than a text
field, as is my case then it doesn't work.

just to experiment I threw in an additional unbound textbox in the report
and set its control to:
=txtImageName
to see maybe what the value from the hyperlink and when the hyperlink is
C:\Test.jpg active underlined blue hyperlink the unbound text box is
showing:
C:\Test.jpg#.../../../../

and this somewhat corresponds to the error message originally described
before 2220 that has lots of goobledygook in the path name

does one work with the hyperlink or does one somehow force the hyperlink
to
plain text.....would welcome advice.
--
NTC


"Ken Snell (MVP)" wrote:

Post more details about what you are doing, incluiding path names, etc.

--

Ken Snell
MS ACCESS MVP

"NetworkTrade" wrote in message
...
Hi - not sure if anyone will reply to this older dialog....just
searched
it
and it is my exact need at the moment. Followed your advice and am
getting
an error 2220 that "Access can not open" it lists the path name but
also
duplicate path name with %20 and other such goobledegook thrown in....

the hyperlink in the table opens fine to the jpg....so not clear as to
how
to correct this

for the sake of full disclosure; is a continuous report - and some of
the
fields are blank....wonder if this is the cause....
--
NTC


"Urban Planning Major" wrote:



"fredg" wrote:

On Tue, 31 Oct 2006 07:42:01 -0800, Urban Planning Major wrote:

Good day,
I have a table with picture links already entered in the table.
How
can I
convert these links to image that is seeable on a report with out
clicking?
My end result should be a report that haves an image next to my
reporting..

Do you mean you have the images stored in a folder on your hard
drive,
with the path to the image and it's name, i.e.
("C:\MyFolder\SunsetAtTheBeach.jpg")
stored in a field in your table?

Add an Image control to the report.
After you add and save the image control, delete it's picture
property.
Code the Detail Section Format event (if the picture is in the
detail
section):
Me!ImageName.Picture = Me![FieldName]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


I'm sorry I am a novice at access. How do you add a image control?
Thanks






  #10  
Old March 13th, 2007, 07:22 PM posted to microsoft.public.access.reports
guat
external usenet poster
 
Posts: 48
Default Report Images

I have the same question, but I have an image that's an OLE object that will
vary on the report based on user entry. Basically, it's the logo for the
letterhead of the report, that will vary with which program I use. But on
report preview view, I just seem the name of the file, ex: logo.gif, and not
the icon itself - any suggestions?


"NetworkTrade" wrote:

thanks....I went down another path of exploring the hyperlink.

Discovered the HyperlinkPart function. Put that in a calculated field in a
query and am able to convert the hyperlink to text with just the part of the
hyperlink I need...i.e. the path.
--
NTC


"Ken Snell (MVP)" wrote:

You can do what you seek this way:

Me.ImageControl.Picture=Replace(Me.txtImageName.Va lue, "#", "", 1, -1,
vbTextCompare)

--

Ken Snell
MS ACCESS MVP


"NetworkTrade" wrote in message
news
Hi, searched this site and saw advice same as this string that to make an
image appear in a report to add code into the Report Detail OnFormat event
of:
Me.ImageControl.Picture=Me.txtImageName

and it wasn't working per my prior message - - - upon further
experimenting
I realized that this advice works fine if the txtImageName value is indeed
a
text field from the table i.e. C:\Test.jpg

but if txtImageName is a hyperlink defined table field, rather than a text
field, as is my case then it doesn't work.

just to experiment I threw in an additional unbound textbox in the report
and set its control to:
=txtImageName
to see maybe what the value from the hyperlink and when the hyperlink is
C:\Test.jpg active underlined blue hyperlink the unbound text box is
showing:
C:\Test.jpg#.../../../../

and this somewhat corresponds to the error message originally described
before 2220 that has lots of goobledygook in the path name

does one work with the hyperlink or does one somehow force the hyperlink
to
plain text.....would welcome advice.
--
NTC


"Ken Snell (MVP)" wrote:

Post more details about what you are doing, incluiding path names, etc.

--

Ken Snell
MS ACCESS MVP

"NetworkTrade" wrote in message
...
Hi - not sure if anyone will reply to this older dialog....just
searched
it
and it is my exact need at the moment. Followed your advice and am
getting
an error 2220 that "Access can not open" it lists the path name but
also
duplicate path name with %20 and other such goobledegook thrown in....

the hyperlink in the table opens fine to the jpg....so not clear as to
how
to correct this

for the sake of full disclosure; is a continuous report - and some of
the
fields are blank....wonder if this is the cause....
--
NTC


"Urban Planning Major" wrote:



"fredg" wrote:

On Tue, 31 Oct 2006 07:42:01 -0800, Urban Planning Major wrote:

Good day,
I have a table with picture links already entered in the table.
How
can I
convert these links to image that is seeable on a report with out
clicking?
My end result should be a report that haves an image next to my
reporting..

Do you mean you have the images stored in a folder on your hard
drive,
with the path to the image and it's name, i.e.
("C:\MyFolder\SunsetAtTheBeach.jpg")
stored in a field in your table?

Add an Image control to the report.
After you add and save the image control, delete it's picture
property.
Code the Detail Section Format event (if the picture is in the
detail
section):
Me!ImageName.Picture = Me![FieldName]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


I'm sorry I am a novice at access. How do you add a image control?
Thanks






 




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 07:52 AM.


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