Search code examples
crystal-reportsformuladynamic-image-generation

Formula for dynamic image src in crystal report


I have taken a OLE object selecting paint brush option. after that going in picture tab clicked x-2 button to write formula. Wrote 2 formulas
1. "F:/BrWeb/BrWeb/QRImages/DSR2022263.jpg"
2. "~/QRImages/DSR2022263.jpg"

but image is not shown in report. Questions whats the mistake I have done? How to write correct formula so that my image appears? Can I user server path instead of static path in formula? enter image description here


Solution

  • Try to change "F:/BrWeb/BrWeb/QRImages/DSR2022263.jpg"

    to "F:\BrWeb\BrWeb\QRImages\DSR2022263.jpg"