Reports with BLOBS
Posted: Tue 17 Dec 2013 21:12
I am not the best with SQL, but I learn fast. I have been working on a report to generate a printable report with a contact's information as well as their picture.
I have two tables:
_contact
_contact_img
I have a query in my report to generate the contact's name concatenated, dates, serial bar code, etc.
The image table contains it's own PK and a field for the _contact PK, and two images - before and after, stored as a long blob.
I have sweated feverishly to solve getting the image to display in the picture box from the toolbox of the report editor. I have the image return as expr1 due to ifnull(after_pic, before_pic). Many thanks for anyone willing to shed some light on this.
Thanks
I have two tables:
_contact
_contact_img
I have a query in my report to generate the contact's name concatenated, dates, serial bar code, etc.
The image table contains it's own PK and a field for the _contact PK, and two images - before and after, stored as a long blob.
I have sweated feverishly to solve getting the image to display in the picture box from the toolbox of the report editor. I have the image return as expr1 due to ifnull(after_pic, before_pic). Many thanks for anyone willing to shed some light on this.
Thanks