on 02-15-2020 7:14 AM
I want to display specific images located in a folder inside the project. I want to display it in a crystal report(dynamically). trying to insert an image as OLE object >> right click then format object >> choose picture tab >> click on a graphic location and write the following line:
{Application.StartupPath\images\1.jpg}
but didn't work. Again, I don't need to retrieve the path from the database, I need to retrieve images from the folder which I created. How can I achieve that? Thanks in advance.
Your expression ({Application.StartupPath\images\1.jpg}) is not a valid Crystal syntax.
As sanity check, first create a formula that returns the path to the file. Place it on the report canvas and preview to confirm it returns a valid path. Then, use that formula in the Graphic Location expression.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CR and SDK will only load the file on Open, it cannot be used to update the image at runtime.
You need to use a formula field or database field that specifies the file location.
Only way it's going to update at runtime
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.