Topic: Picture doesn't displayed

Hello

I use FastReport embedded with MVD to create a report (for selected item).
The layout works fine.
Problem stands in displaying pictures.
My application stores pictures in a folder apart  in the directory of the application.
In FR, to display them, I use a Picture Object, I fill items : Datafield, Dataset and FileLink (in wich I give folder (ie. \piafs)).
In PictureObject, i drag-&-drop field Image in this container.

No image is displayed (I receive either no error message).
I guess if picture were embedded in the base (sql.db), all would work OK, but I want keep a folder apart to relieve the base
I've searched in FastReport documentation, I'v asked many questions on Internet specialized forums, no accute answer.

I have tested all possible, but in vain.

Did you ever met this situation ? If Yes, how you resolved it.

Thanks for your answers

JB

Re: Picture doesn't displayed

Hello,


Here you can download the example, how to display picture
http://myvisualdatabase.com/forum/misc. … download=1

Dmitry.

Re: Picture doesn't displayed

Hello Dmitry

Thanks for your fast answer
I look at your link. It works fine.
Very interesting
As in the example, I've declared this new field in my main base (photo_file).
But when I use it in my application, i got a message "so such column photo_file in Grille.TableGrid1".
Strange I don't use it in form used to save new record.
By the way, the report doesn't display any picture

I didn't know we could use calculated field for other thing than calculating.
Amazing in spite of  its name.

Thanks

JB

Re: Picture doesn't displayed

jean.brezhonek
Please, send me your project to support@drive-software.com
I'll try to help you.

Dmitry.

Re: Picture doesn't displayed

Thanks Dmitry

Sent to DriveSoft
Thanks again for your essential help

JB