on 09-13-2008 3:40 AM
Can anyone please assist in the procedure to insert a bitmap into a report dynamically. I want to insert a picture of the employee to print along with their detailed information. How can I do this?
Can anyone assist?
Hi Zack
As I undersatand you want to insert bitmap image dynamically.
You can insert bitmap image dynamically with the help of OLE object in Crystal Report.Mentioned below are the steps to insert OLE object
1)Click on Insert Menu
2)Click on OLE object.
3)3)If you have existing image the click on "Create from file."
4)Place the image in the section.
5)Right click the OLE image ->FormateGraphic->Picture Tab.
6)In Graphic Location pane(X-2) specify the path.
Hope it helps.
Regards
Asha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, this worked...you guys are awesome.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason, thanks for your response.
I apologize but I am new to creating dynamic formulas. You're correct in that the photos are stored in a folder on a network path outside the main database. I am not clear as to how I can link the report with the pictures in this folder and have it display the corresponding photo for each employee in the report?
If it is not too much to ask, can you give me more details on the procedure in getting this to work?
Thanks,
Zack
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Zack,
I'm assuming that the images are not being stored in the database itself, but rather in a separate file folder on your network.
You need to create a dynamic link formula. Something like this:
"\\172.16.138.250\HumanResources\EmployeePhotos\" & {EmpTable.EmployeeName} & ".bmp"
Hope this helps,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.