Skip to Content
0
Feb 15, 2017 at 10:35 AM

dynamic images in CR for VS2015

125 Views

Hi,

a report contains an image (OLE object) with “Graphic location” = {@Image_link} (formula), that is dynamically updated from VB2015 as follows:

Dim cryRpt As New ReportDocument

cryRpt.Load("xxxx.rpt")
cryRpt.DataDefinition.FormulaFields ("image_link"). Text = ControlChars.Quote & sPathImage & ControlChars.Quote
crViewer1.ReportSource = cryRpt
crViewer1.Refresh ()

The image is not updated during preview..

Thank you for help.