Modify temporary saved report

edited 9:46AM in FastReport 4.0
Hey,

I want to save a report temporary to modify it later.

At my project I can modify datas of the report by exceptions and an input-Dialog in the Preview.

If the worker hasn't finished his report he want to save his changes and reload it later to modify the other parts.

My solution isn't running correctly, because I lose the modifies of the worker:

ImageFileName := ImageFileName +Zaehler + filenameExt;
frxReport1.SaveToFile(ImageFileName);
......
frxReport1.LoadFromFile(ReportFile);
frxReport1.PreviewOptions.AllowEdit:=false;
_WantPreview:=true;
_minDataSetsForReport:=-1;
frxReport1.ShowReport(false);


By using the
frxReport1.PreviewPages.SaveToFile(ImageFileName);
command I'm not able to modify something, because the Skript isn't running after the reloading:-(

By using the
frxReport1.SaveToFile(ImageFileName);
command I'm losing the modified Values :-(

Some Idea??

Thanks for your support. :-)

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.