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?