Results 1 to 3 of 3
  1. #1
    bilalo is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    107

    Picture/logo in report

    I have a table named settings that contains a logo (saved attachment) and some other text information.
    I have another table named invoices and there is no relation between this table and the table above.
    I created a report for the invoices and I want to add the saved logo to this report.
    I tried to drag and drop the logo from the settings table to the invoices report, but it asks me to specify the link between the two tables (which doesn't exist)
    I also tried two other alternatives on the open event of the report to fill an attachment control with the logo or to fill an image control with the logo but both failed.


    I used this query
    Set rs = CurrentDb.OpenRecordset("select Logo from Settings")
    But I didn't know how to fill the logo in an attachment control or a picture control.
    Any help please? Which method should I use , Is there a drag and drop solution for this problem or It should be solved by code?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,515
    You can have a table with the logos. OLE field.
    in the report query, load the logo into a bound image control.
    i do this.

    your example is not a query, that is code.

  3. #3
    bilalo is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    107
    I can not use a bound image control, because the report query is linked to a table that doesn't contain the logo and there is no link between the two tables.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Having same image (logo) on each form/report
    By Gina Maylone in forum Access
    Replies: 14
    Last Post: 10-21-2015, 04:37 PM
  2. Replies: 3
    Last Post: 05-14-2015, 01:07 PM
  3. Replies: 4
    Last Post: 04-09-2015, 01:35 PM
  4. Replies: 8
    Last Post: 03-04-2015, 10:04 AM
  5. Replies: 2
    Last Post: 04-19-2012, 12:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums