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  

Company logo in all reports



 
 
Thread Tools Display Modes
  #1  
Old July 6th, 2005, 08:53 AM
Michalis J.
external usenet poster
 
Posts: n/a
Default Company logo in all reports

I would like to insert a company logo in all the reports of an access
database. This logo however must change when the database is used by
different customers.
To solve this problem with other company details I have a form with all
company details which I fill up for each customer. The headings of all
reports are referenced to these company information. Can I do somthing
similar with the logo?
What I mean is to insert the logo in the company details form and then from
each report to regference to that image.

  #2  
Old July 6th, 2005, 11:29 AM
Nikos Yannacopoulos
external usenet poster
 
Posts: n/a
Default

Insert an image object in your reports, set its Picture Type property to
Linked, and its Picture property to None; in your company details table,
store the path and filename of the stored company logo; use an
appropriate event (such as the report open, or the report header format
if in the header) to assign the file path and name to the image's
Picture property, with something like:

Dim sPicture As String
sPicture = DLookup("LogoFile","tblCompanyDetails","some condition?")
Me.Image17.Picture = sPicture

HTH,
Nikos
  #3  
Old July 6th, 2005, 11:46 AM
Michalis J.
external usenet poster
 
Posts: n/a
Default

Thanks Nikos
I will just try to do that.

"Michalis J." wrote:

I would like to insert a company logo in all the reports of an access
database. This logo however must change when the database is used by
different customers.
To solve this problem with other company details I have a form with all
company details which I fill up for each customer. The headings of all
reports are referenced to these company information. Can I do somthing
similar with the logo?
What I mean is to insert the logo in the company details form and then from
each report to regference to that image.

  #4  
Old July 7th, 2005, 07:07 AM
Michalis J.
external usenet poster
 
Posts: n/a
Default

Do I need to load any references.
When I type "Me.Image17. " , "Picture" is not available and the picture is
not loaded

"Michalis J." wrote:

Thanks Nikos
I will just try to do that.

"Michalis J." wrote:

I would like to insert a company logo in all the reports of an access
database. This logo however must change when the database is used by
different customers.
To solve this problem with other company details I have a form with all
company details which I fill up for each customer. The headings of all
reports are referenced to these company information. Can I do somthing
similar with the logo?
What I mean is to insert the logo in the company details form and then from
each report to regference to that image.

  #5  
Old July 7th, 2005, 09:03 AM
Nikos Yannacopoulos
external usenet poster
 
Posts: n/a
Default

It wasn't available for me either, I just typed it. Didn't have to add
any reference, but check for the OLE Automation one anyway. It worked
for me in A2K3, don't know if it's a version thing.

Nikos
  #6  
Old July 7th, 2005, 10:55 AM
Michalis J.
external usenet poster
 
Posts: n/a
Default

The Ole Automation is on, and I use Access2003 too but still the picture
doesn't come up. I have to look at it more carefully. Thanks a lot anyway.

Michalis

"Nikos Yannacopoulos" wrote:

It wasn't available for me either, I just typed it. Didn't have to add
any reference, but check for the OLE Automation one anyway. It worked
for me in A2K3, don't know if it's a version thing.

Nikos

  #7  
Old July 7th, 2005, 11:44 AM
Nikos Yannacopoulos
external usenet poster
 
Posts: n/a
Default

By the way, you did substitute my hypothetical table, field and control
noames with the actual ones, right? Didi you debug to check that
sPicture is assigned the excpected path nad filename correctly?

Nikos
 




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
How to add a company logo to outlook emails? Lowell@UnitedVacuum General Discussion 1 July 5th, 2005 06:41 PM
Send Access reports via email - password protect [email protected] Setting Up & Running Reports 2 May 25th, 2005 12:28 PM
Blank Pages at the beginning of Parent Report with 5 child or sub reports Cyndy Sheehan Setting Up & Running Reports 1 March 4th, 2005 10:36 PM
How do I load company logo as a permenant template in my outlook Janine General Discussion 1 February 4th, 2005 09:15 PM
Sum Question Ron Worksheet Functions 1 January 14th, 2004 10:23 PM


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