[Resolved] Crystal Rpt - Picture path
Hello everyone,
Is Crystal Report 9.2 able to show picture from specific path from parameter field?
Let's say i send "C:\pic1.jpg" as parameter field from VB application to Crystal Report, i would like Crystal Report to show picture "C:\pic1.jpg". how to do like this?
Thanks for helps
Re: Crystal Rpt - Picture path
Quote:
Originally Posted by naruponk
Hello everyone,
Is Crystal Report 9.2 able to show picture from specific path from parameter field?
Let's say i send "C:\pic1.jpg" as parameter field from VB application to Crystal Report, i would like Crystal Report to show picture "C:\pic1.jpg". how to do like this?
Thanks for helps
Store the picture in a database and add it as a field.
Re: Crystal Rpt - Picture path
Quote:
Originally Posted by Malim
Store the picture in a database and add it as a field.
Malin, any suggestion to do this with CR.net ? I tried your suggestion and it didn't work - i can't insert image fields in the report.
Regards
Jorge
Re: Crystal Rpt - Picture path
Can i do this without store a picture in a database?
If possible i don't want to store picture in database. :(
Can i do this by using picture path?
Thanks guys
Re: Crystal Rpt - Picture path
Naruponk,
I don't know how to do the workaround and pass a path to the picture in the report. If you are doing this over a network you could have problems if the computer that the picture is stored on is down... etc. However, at one point I did a Google search on this and found that there "might be" a way to point to a picture through a path, "if you buy this internet book". At the same time, it said in the post that it was complicated. (I didn't buy the book, because putting my pictures in a database has worked fine for me.) Why are you hesitant about putting your pictures in a database?
Asgorath,
I did this in VB.net with CR 9. It should just be a matter of selecting the image field, like you select any other field and displaying it on the report. There is an example from Crystal Reports if you have CR9. Do a search on your computer for xtreme.mdb. It is a sample mdb on .net which shows how to do this. Let me know if you can't find xtreme.mdb and I'll upload it for you.
Re: Crystal Rpt - Picture path
Ok, if no way to do this, i'll store picture in a database.
Thanks for help guys :wave: