Send variable in FR for picture

edited 10:37PM in FastReport 4.0
Hello,

I'm sorry for my bad English.

I try to edit with FR v.4.5.13 an image on a page without database.
So I tried using the line of code ":
TfrxPictureView (Sender) .Picture.LoadFromFile (T: \ Control \ Quality \ 85326374 \ P1010014.JPG '); "
This line works very well in the event:
Picture1OnBeforePrint (Sender: TfrxComponent);

But, I have to send the path to the image via a variable :
To send the path of the image, I use frxReport1GetValue
image.png

The variable was created in FR here
image.png

In the event Picture1OnBeforePrint (Sender: TfrxComponent);
image.png

When I run the report, I have this error
image.png

How can I send Delphi the path of the image via a variable that can be read by the TfrxPictureView?

Cordialy
Pierrot

Comments

  • edited 10:37PM
    Sorry for the inconvenience, I found my mistake.
    You must put "<image>" instead of "image"

    cordially

Leave a Comment