Send variable in FR for picture

edited 5:16PM 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 5:16PM
    Sorry for the inconvenience, I found my mistake.
    You must put "<image>" instead of "image"

    cordially

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.