Adding a picture to a report

I have a picture that is stored as a property in my dataset and a report picture on my report. The picture is not stored in the database, it is being generated from data coming back from my query. I have tried to set the data field on the report picture to my property name. I am getting a type mismatch exception. They are shipping labels with multiple barcodes that i need to add. I have looked around and have not found a solution yet. Any help would be greatly appreciated. Thanks

Nevermind i came up with a solution. Report picture is expecting the data from the picture, not a picture. So the solution is to return my picture as data. Ex. dto.barcode.getData(Picture.FormatPNG). this works beautifully.

1 Like

Great detective work! I did not know this.

I’ve updated the Reports.DataSet page with this information.