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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Insert graphic in report



 
 
Thread Tools Display Modes
  #1  
Old June 6th, 2005, 08:42 PM
BruceM
external usenet poster
 
Posts: n/a
Default Insert graphic in report

I have a form (frmMain, based on tblMain) that includes a combo box
(cboUserName) from which the user selects his or her name. cboUserName is
bound to [UserName], a text field in tblMain. Its row source is a query
(qryUserName) based on a table (tblUserName) that includes the person's name,
ID, and an OLE object field for a graphic (.tif) version of the person's
signature. When I make a report (rptMain) based on tblMain I would like to
insert the graphic (the "signature") rather than the name.
I had thought I could do this by 1) creating a relationship between tblMain
and qrySig, 2) creating a query (qryMain) that includes those two objects,
and 3) basing rptMain on qryMain. In rptMain is a bound object frame with
the OLE field from qryUserName as its record source. One difficulty I am
having is that qryMain only returns records for which there is a value in
UserName. frmMain will be filled out in stages, and all records need to be
available at all times, no matter if they are complete.
The second difficulty arises no doubt from my unfamiliarity with graphics in
general, and graphics in Access in particular. The graphic is the correct
size when I insert it into a Word document, but it is much too small when I
insert it into the report. I cannot make it larger within Access due to
pixellation, yet am not sure what to do with the original to make it work.
There are people here who can work with graphics, but I don't know what to
request of them in order for the "signatures" to be sharp and clear on the
report.
  #2  
Old June 6th, 2005, 09:31 PM
Sharkbyte
external usenet poster
 
Posts: n/a
Default

Bruce:

My first thought, regarding the query only returning rows with a value in
UserName is to modify the join properties to make it a many-to-one
relationship. I'm assuming that there is a join that is creating a
one-to-one relationship, which then limits the results.

Not sure about the .tif image. Perhaps increase the size of the original,
before saving it into Access, to allow for the reduction in size. This, of
course, assumes Access is applying a standard reduction versus having a
display size limit.

Sharkbyte


"BruceM" wrote:

I have a form (frmMain, based on tblMain) that includes a combo box
(cboUserName) from which the user selects his or her name. cboUserName is
bound to [UserName], a text field in tblMain. Its row source is a query
(qryUserName) based on a table (tblUserName) that includes the person's name,
ID, and an OLE object field for a graphic (.tif) version of the person's
signature. When I make a report (rptMain) based on tblMain I would like to
insert the graphic (the "signature") rather than the name.
I had thought I could do this by 1) creating a relationship between tblMain
and qrySig, 2) creating a query (qryMain) that includes those two objects,
and 3) basing rptMain on qryMain. In rptMain is a bound object frame with
the OLE field from qryUserName as its record source. One difficulty I am
having is that qryMain only returns records for which there is a value in
UserName. frmMain will be filled out in stages, and all records need to be
available at all times, no matter if they are complete.
The second difficulty arises no doubt from my unfamiliarity with graphics in
general, and graphics in Access in particular. The graphic is the correct
size when I insert it into a Word document, but it is much too small when I
insert it into the report. I cannot make it larger within Access due to
pixellation, yet am not sure what to do with the original to make it work.
There are people here who can work with graphics, but I don't know what to
request of them in order for the "signatures" to be sharp and clear on the
report.

  #3  
Old June 7th, 2005, 01:41 PM
BruceM
external usenet poster
 
Posts: n/a
Default

Turns out I had an inner join where I needed a left join, so now I see all of
the records. Thanks for pointing me in the right direction.
For the second part (regarding the .tif), I am hoping to avoid a lot of
trial and error. Graphics do not behave as they do in other Microsoft Office
programs. If I insert a particular tif file into Word it measures about 1".
When I open it with standard image viewing software (such as Windows Picture
and Fax Viewer) its properties show its size as about 1". However, when I
insert the same file into an OLE field in a table, then use a bound object
frame to insert the field into a report, it measures about one quarter of an
inch, and cannot be successfully enlarged.
I am not skilled with graphics, and am not familiar with such programs as
Paint Shop. There are people here who are skilled with such things, so
rather than learning the software (which I don't really have time to do right
now) I could just tell them what is needed, except I don't know what that is.
How do I know if Access is "applying a standard reduction"? Perhaps a .tif
is not the best way to go? I tried a bitmap, which works better, but the
file size is quite large. The documentation (Access Help) says something
about saving the image as a metafile, which is smaller than a bitmap. I will
have to check with the graphics people here to see if that is possible. I am
just trying to get some general guidelines about handling graphics so that
they don't become excessively annoyed with me.

"Sharkbyte" wrote:

Bruce:

My first thought, regarding the query only returning rows with a value in
UserName is to modify the join properties to make it a many-to-one
relationship. I'm assuming that there is a join that is creating a
one-to-one relationship, which then limits the results.

Not sure about the .tif image. Perhaps increase the size of the original,
before saving it into Access, to allow for the reduction in size. This, of
course, assumes Access is applying a standard reduction versus having a
display size limit.

Sharkbyte


"BruceM" wrote:

I have a form (frmMain, based on tblMain) that includes a combo box
(cboUserName) from which the user selects his or her name. cboUserName is
bound to [UserName], a text field in tblMain. Its row source is a query
(qryUserName) based on a table (tblUserName) that includes the person's name,
ID, and an OLE object field for a graphic (.tif) version of the person's
signature. When I make a report (rptMain) based on tblMain I would like to
insert the graphic (the "signature") rather than the name.
I had thought I could do this by 1) creating a relationship between tblMain
and qrySig, 2) creating a query (qryMain) that includes those two objects,
and 3) basing rptMain on qryMain. In rptMain is a bound object frame with
the OLE field from qryUserName as its record source. One difficulty I am
having is that qryMain only returns records for which there is a value in
UserName. frmMain will be filled out in stages, and all records need to be
available at all times, no matter if they are complete.
The second difficulty arises no doubt from my unfamiliarity with graphics in
general, and graphics in Access in particular. The graphic is the correct
size when I insert it into a Word document, but it is much too small when I
insert it into the report. I cannot make it larger within Access due to
pixellation, yet am not sure what to do with the original to make it work.
There are people here who can work with graphics, but I don't know what to
request of them in order for the "signatures" to be sharp and clear on the
report.

  #4  
Old June 7th, 2005, 02:49 PM
Sharkbyte
external usenet poster
 
Posts: n/a
Default

Bruce:

I am certainly no expert at Ole objects. However, take a look at Format
Size Mode - of the bound frame - and see if Stretch or Zoom resolves your
problem. (Clip is the default)

Sharkbyte


"BruceM" wrote:

Turns out I had an inner join where I needed a left join, so now I see all of
the records. Thanks for pointing me in the right direction.
For the second part (regarding the .tif), I am hoping to avoid a lot of
trial and error. Graphics do not behave as they do in other Microsoft Office
programs. If I insert a particular tif file into Word it measures about 1".
When I open it with standard image viewing software (such as Windows Picture
and Fax Viewer) its properties show its size as about 1". However, when I
insert the same file into an OLE field in a table, then use a bound object
frame to insert the field into a report, it measures about one quarter of an
inch, and cannot be successfully enlarged.
I am not skilled with graphics, and am not familiar with such programs as
Paint Shop. There are people here who are skilled with such things, so
rather than learning the software (which I don't really have time to do right
now) I could just tell them what is needed, except I don't know what that is.
How do I know if Access is "applying a standard reduction"? Perhaps a .tif
is not the best way to go? I tried a bitmap, which works better, but the
file size is quite large. The documentation (Access Help) says something
about saving the image as a metafile, which is smaller than a bitmap. I will
have to check with the graphics people here to see if that is possible. I am
just trying to get some general guidelines about handling graphics so that
they don't become excessively annoyed with me.

"Sharkbyte" wrote:

Bruce:

My first thought, regarding the query only returning rows with a value in
UserName is to modify the join properties to make it a many-to-one
relationship. I'm assuming that there is a join that is creating a
one-to-one relationship, which then limits the results.

Not sure about the .tif image. Perhaps increase the size of the original,
before saving it into Access, to allow for the reduction in size. This, of
course, assumes Access is applying a standard reduction versus having a
display size limit.

Sharkbyte


"BruceM" wrote:

I have a form (frmMain, based on tblMain) that includes a combo box
(cboUserName) from which the user selects his or her name. cboUserName is
bound to [UserName], a text field in tblMain. Its row source is a query
(qryUserName) based on a table (tblUserName) that includes the person's name,
ID, and an OLE object field for a graphic (.tif) version of the person's
signature. When I make a report (rptMain) based on tblMain I would like to
insert the graphic (the "signature") rather than the name.
I had thought I could do this by 1) creating a relationship between tblMain
and qrySig, 2) creating a query (qryMain) that includes those two objects,
and 3) basing rptMain on qryMain. In rptMain is a bound object frame with
the OLE field from qryUserName as its record source. One difficulty I am
having is that qryMain only returns records for which there is a value in
UserName. frmMain will be filled out in stages, and all records need to be
available at all times, no matter if they are complete.
The second difficulty arises no doubt from my unfamiliarity with graphics in
general, and graphics in Access in particular. The graphic is the correct
size when I insert it into a Word document, but it is much too small when I
insert it into the report. I cannot make it larger within Access due to
pixellation, yet am not sure what to do with the original to make it work.
There are people here who can work with graphics, but I don't know what to
request of them in order for the "signatures" to be sharp and clear on the
report.

  #5  
Old June 8th, 2005, 01:00 PM
BruceM
external usenet poster
 
Posts: n/a
Default

The problem with enlarging the image in that way is analogous to attempting
to create an 8 x 10 photograph by enlarging a face from a crowd scene. The
enlarged image is too pixellated to be usable. The bitmap approach offers a
better chance at success, or metafile if I can figure out how to do that.
Thank you for your input. I appreciate your taking the time to reply.

"Sharkbyte" wrote:

Bruce:

I am certainly no expert at Ole objects. However, take a look at Format
Size Mode - of the bound frame - and see if Stretch or Zoom resolves your
problem. (Clip is the default)

Sharkbyte


"BruceM" wrote:

Turns out I had an inner join where I needed a left join, so now I see all of
the records. Thanks for pointing me in the right direction.
For the second part (regarding the .tif), I am hoping to avoid a lot of
trial and error. Graphics do not behave as they do in other Microsoft Office
programs. If I insert a particular tif file into Word it measures about 1".
When I open it with standard image viewing software (such as Windows Picture
and Fax Viewer) its properties show its size as about 1". However, when I
insert the same file into an OLE field in a table, then use a bound object
frame to insert the field into a report, it measures about one quarter of an
inch, and cannot be successfully enlarged.
I am not skilled with graphics, and am not familiar with such programs as
Paint Shop. There are people here who are skilled with such things, so
rather than learning the software (which I don't really have time to do right
now) I could just tell them what is needed, except I don't know what that is.
How do I know if Access is "applying a standard reduction"? Perhaps a .tif
is not the best way to go? I tried a bitmap, which works better, but the
file size is quite large. The documentation (Access Help) says something
about saving the image as a metafile, which is smaller than a bitmap. I will
have to check with the graphics people here to see if that is possible. I am
just trying to get some general guidelines about handling graphics so that
they don't become excessively annoyed with me.

"Sharkbyte" wrote:

Bruce:

My first thought, regarding the query only returning rows with a value in
UserName is to modify the join properties to make it a many-to-one
relationship. I'm assuming that there is a join that is creating a
one-to-one relationship, which then limits the results.

Not sure about the .tif image. Perhaps increase the size of the original,
before saving it into Access, to allow for the reduction in size. This, of
course, assumes Access is applying a standard reduction versus having a
display size limit.

Sharkbyte


"BruceM" wrote:

I have a form (frmMain, based on tblMain) that includes a combo box
(cboUserName) from which the user selects his or her name. cboUserName is
bound to [UserName], a text field in tblMain. Its row source is a query
(qryUserName) based on a table (tblUserName) that includes the person's name,
ID, and an OLE object field for a graphic (.tif) version of the person's
signature. When I make a report (rptMain) based on tblMain I would like to
insert the graphic (the "signature") rather than the name.
I had thought I could do this by 1) creating a relationship between tblMain
and qrySig, 2) creating a query (qryMain) that includes those two objects,
and 3) basing rptMain on qryMain. In rptMain is a bound object frame with
the OLE field from qryUserName as its record source. One difficulty I am
having is that qryMain only returns records for which there is a value in
UserName. frmMain will be filled out in stages, and all records need to be
available at all times, no matter if they are complete.
The second difficulty arises no doubt from my unfamiliarity with graphics in
general, and graphics in Access in particular. The graphic is the correct
size when I insert it into a Word document, but it is much too small when I
insert it into the report. I cannot make it larger within Access due to
pixellation, yet am not sure what to do with the original to make it work.
There are people here who can work with graphics, but I don't know what to
request of them in order for the "signatures" to be sharp and clear on the
report.

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
automatically insert data into a form or report from a customer db tangerine3 General Discussion 2 June 1st, 2005 12:02 AM
Report design question: insert headers randomly throughout report bggardens Setting Up & Running Reports 1 April 26th, 2005 03:28 AM
Still Hoping for help with a Query problem Don Sealer Using Forms 15 November 13th, 2004 06:24 AM
insert detail section after report header Kendra Setting Up & Running Reports 1 October 11th, 2004 02:44 AM
Label SRIT General Discussion 2 June 22nd, 2004 09:42 PM


All times are GMT +1. The time now is 07:29 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.