Fileexists or other for loading picture(s) to report

edited 1:11PM in FastReport 4.0
Still can??t find a solucion can some one help becuse Fileexists don??t work
for me or i don??t now to put it to work when the dataset is enpety (my picture have to stay white).
my Dataset\name is <Termografia_sub."Foto1"> and i use the:

procedure Picture5OnBeforePrint(Sender: TfrxComponent);
var
vF2:String;
begin
vF2:=<Termografia_sub."Foto1"> ;
picture5.picture.loadfromfile(<Fot2>+vf2);
end;

is there a realy good solucion please!

thank??s

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:11PM
    the function you were given previously works fine
    what don't you understand about using it?
  • edited 1:11PM
    gordk wrote: »
    the function you were given previously works fine
    what don't you understand about using it?
    where to put in the IDE and the report because it gives me a error always..

    thank??s
    Ml
  • gordkgordk St.Catherines On. Canada.
    edited 1:11PM
    see my reply in the news group.

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.