Send variable in FR for picture
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

The variable was created in FR here

In the event Picture1OnBeforePrint (Sender: TfrxComponent);

When I run the report, I have this error

How can I send Delphi the path of the image via a variable that can be read by the TfrxPictureView?
Cordialy
Pierrot
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

The variable was created in FR here

In the event Picture1OnBeforePrint (Sender: TfrxComponent);

When I run the report, I have this error

How can I send Delphi the path of the image via a variable that can be read by the TfrxPictureView?
Cordialy
Pierrot
Comments
You must put "<image>" instead of "image"
cordially