Load all files in frxPreview



Hi


I need to upload the two attached files and display the content in frxPreview and I'm not able to.

Using the code below, I manage to load only one of them when I need to load the contents of both.


//Code

frxReport1.PreviewPages.LoadFromFile('d:\boleto.fr3');

frxReport1.Preview:=frxPreview1;

frxReport1.ShowPreparedReport;


Thanks

Comments

  • Use

    frxReport1.PreviewPages.LoadFromFile('d:\boleto.fr3');

    frxReport2.PreviewPages.LoadFromFile('d:\teste.fr3');

    frxReport1.PreviewPages.AddFrom(frxReport2);

    frxReport1.Preview:=frxPreview1;

    frxReport1.ShowPreparedReport;

Leave a Comment