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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |