The only way that I know how to do this is with the Crystal Reports RDC. It requires that you have the path to the picture stored in your database, if so follow these basic steps.
1. Place a picture box (Picture1 - ICROleObject)in the section that you want the picture to appear (Section3).
2. Place a field that will pull the path of the picture from the database (field1), and set its suppress property to true. You don't want this to appear on the report.
3. Place the following code in the section Format event of the report.
Private Sub Section3_Format(ByVal pFormattingInfo As Object)
Set Picture1.FormattedPicture = LoadPicture(Field1.Value) 'changes the picture in the section
End Sub
That's all there is to it. You can place this a details section and have a different picture for each record.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.