Dynamically change an image in a Crystal Report at

2019-03-15 09:11发布

I'm using the Crystal Reports included with VisualStudio 2005. I would like to change the image that is displayed on the report at runtime ideally by building a path to the image file and then have that image displayed on the report.

Has anyone been able to accomplish this with this version of Crystal Reports?

8条回答
干净又极端
2楼-- · 2019-03-15 09:44

Just like Josh said.. You will have to push the image with a dataset. Or, put the image into a database table once and pull it in many times with a subreport.

查看更多
神经病院院长
3楼-- · 2019-03-15 09:50

Try using a combination of using a parameter containing the path of the image and the tutorial on this page: http://www.idautomation.com/crystal/streaming_crystal.html

Then in step #8, use the parameter instead of a hard-coded path.

查看更多
登录 后发表回答