Home General

Edititing Fieldvalue in Report after "LoadFromDatabase"

Hi Support-Forum,

thanks for the possibility to ask and discuss questions regarding ReportBuilder!

We load reports that the end user has created. Afterwords we use a separate program to print labels using "ppReport1.LoadFromDatabase". Now our customer has decided to work with graphic contents on the label and we have the problem to decide if the fieldname / filename is a jpg or a png file because all files are haveing the "jpg" extension.
We are able to decide between "jpg" and "png" programmatically but we want to give the renamed value back to the report picture without changing the database value.

Something like:
changedFileName := CheckIfFileJPGorPNG;

Thanks for your suggestions to solve this problem!

Kind regards,



  • edited November 2023
    Good morning,

    any suggestions?

    Kind regards,

Sign In or Register to comment.